Self-describing numbers: Difference between revisions
Content added Content deleted
Catskill549 (talk | contribs) |
(GP) |
||
Line 719: | Line 719: | ||
6210001000 is a self-describing number. |
6210001000 is a self-describing number. |
||
</pre> |
</pre> |
||
=={{header|PARI/GP}}== |
|||
This is a finite set... |
|||
<lang parigp>S=[1210, 2020, 21200, 3211000, 42101000, 521001000, 6210001000]; |
|||
isself(n)=vecsearch(S,n)</lang> |
|||
=={{header|Pascal}}== |
=={{header|Pascal}}== |