login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062840 Palindromes of the form k^3 + 1. 0

%I

%S 0,1,2,9,1001,29792,1000001,1000000001,1000000000001,1000000000000001,

%T 1000000000000000001,1000000000000000000001,1000000000000000000000001

%N Palindromes of the form k^3 + 1.

%e 1000001 = 100^3 + 1 and is a palindrome.

%t Do[k = n^3 + 1; If[FromDigits[Reverse[IntegerDigits[k]]] == k, Print[k]], {n, -1, 10^8}] (* _Ryan Propper_, Aug 13 2005 *)

%t Select[Range[-1,10^8]^3+1,#==IntegerReverse[#]&] (* The program uses the IntegerReverse function from Mathematica version 10 *) (* _Harvey P. Dale_, May 05 2016 *)

%K base,nonn

%O 1,3

%A _Erich Friedman_, Jul 21 2001

%E 3 more terms from _Ryan Propper_, Aug 13 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 10:32 EDT 2019. Contains 327229 sequences. (Running on oeis4.)