OFFSET
1,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..1001
EXAMPLE
a(2) = 40 because 40 and 80 are anagrams in bases 5 and 11.
a(13) = 936 because 936 and 1872 are anagrams in bases 3, 9, and 53.
PROG
(PARI) isok(n) = (n==0) || sum(b=2, n, vecsort(digits(n, b)) == vecsort(digits(2*n, b))) > 1; \\ Michel Marcus, Dec 17 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Peter Kagey, Dec 17 2016
STATUS
approved