A002780 Numbers whose cube is a palindrome.
0, 1, 2, 7, 11, 101, 111, 1001, 2201, 10001, 10101, 11011, 100001, 101101, 110011, 1000001, 1001001, 1100011, 10000001, 10011001, 10100101, 11000011, 100000001, 100010001, 100101001, 101000101, 110000011, 1000000001, 1000110001
Offset: 1
References
- N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- T. D. Noe, Table of n, a(n) for n = 1..89 (from De Geest)
- Patrick De Geest, Palindromic Cubes
- G. J. Simmons, Palindromic powers, J. Rec. Math., 3 (No. 2, 1970), 93-98. [Annotated scanned copy]
- G. J. Simmons, On palindromic squares of non-palindromic numbers, J. Rec. Math., 5 (No. 1, 1972), 11-19. [Annotated scanned copy]
Crossrefs
Cf. A002781 (cubes of these numbers).
Programs
-
PARI
isok(k) = my(d=digits(k^3)); Vecrev(d) == d; \\ Michel Marcus, Aug 02 2022
-
Python
def ispal(s): return s == s[::-1] def ok(n): return ispal(str(n**3)) print([k for k in range(10**7) if ok(k)]) # Michael S. Branicky, Aug 02 2022
Extensions
More terms from Patrick De Geest
Comments