OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Scatterplot of (n, a(n)-A331266(n)) for n = 1..32529
PROG
(PARI) b=2; k=68; for (n=1, oo, fordiv (n, u, if (vecsort(digits(u, b))==vecsort(digits(v=n/u, b)), print1 (v", "); break (if (k--, 1, 2)))))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 13 2020
STATUS
approved