OFFSET
1,3
COMMENTS
Conjecture: there exists some m and N for which a(n) = m + n for all n >= N. [Charles R Greathouse IV, Jun 28 2011]
This conjecture is false. If the conjecture is true then for some N we would have k is in the sequence if k >= n. But 10^e + 1 (A062397) is not in the sequence for any integer e >= 0. - David A. Corneth, Nov 13 2023
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
146 is in the sequence as 146^2 = 21316 has digits {1, 2, 3, 6} and 146^3 = 3112136 has digits {1, 2, 3, 6} as well. - David A. Corneth, Nov 13 2023
PROG
(Magma) [ n: n in [0..34*10^4] | Set(Intseq(n^2)) eq Set(Intseq(n^3)) ]; // Bruno Berselli, Jun 28 2011
(PARI) isA029797(n)=Set(Vec(Str(n^2)))==Set(Vec(Str(n^3))) \\ Charles R Greathouse IV, Jun 28 2011
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved