OFFSET
1,2
COMMENTS
In other words, the terms of this sequence are squares or the products of two decimal anagrams.
Leading zeros are ignored.
If m belongs to the sequence, then 100*m also belongs to the sequence.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
EXAMPLE
The numbers 12 and 21 are decimal anagrams, so 252 = 12*21 belongs to the sequence.
PROG
(PARI) is(n, base=10) = fordiv (n, d, if (vecsort(digits(d, base))==vecsort(digits(n/d, base)), return (1))); return (0)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 12 2020
STATUS
approved