cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A080178 Non-palindromic primes which on subtracting their reversal gives perfect cubes.

Original entry on oeis.org

41, 2141, 2251, 3251, 3361, 3581, 3691, 4253, 4363, 4583, 5693, 8147, 9257, 9587, 9697, 46301, 46601, 46901, 47111, 47711, 47911, 48121, 48221, 48821, 49031, 49331, 49531, 49831, 66103, 66403, 67213, 68023, 69233, 69833, 400051, 409951, 414461
Offset: 1

Views

Author

Shyam Sunder Gupta, Mar 16 2003

Keywords

Examples

			a(1) = 41 because 41-14 = 27 which is a perfect cube.
		

Crossrefs

Programs

  • Mathematica
    okQ[n_]:=Module[{idn=IntegerDigits[n],ridn},ridn=Reverse[idn];idn!=ridn&&IntegerQ[Power[n-FromDigits[ridn], (3)^-1]]]
    Select[Prime[Range[35000]],okQ]  (* Harvey P. Dale, Mar 08 2011 *)