login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062841 Palindromes of the form k^3-1. 0
0, 7, 999, 999999, 258474852, 999999999, 999999999999, 999999999999999, 999999999999999999, 999999999999999999999, 999999999999999999999999, 999999999999999999999999999, 999999999999999999999999999999, 999999999999999999999999999999999 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Sequence is infinite as (10^k)^3-1 is a term for all k >= 0. - Michael S. Branicky, Mar 27 2021

LINKS

Table of n, a(n) for n=1..14.

EXAMPLE

999 = 10^3-1 and is a palindrome.

MATHEMATICA

For[n=0, n<100000000, n++, If[n^3-1==IntegerReverse[n^3-1], Print[n^3-1]]] (* Dylan Delgado, Mar 02 2021 *)

PROG

(Python)

def afind(limit):

  for n in range(limit+1):

    s = str(n**3 - 1)

    if s == s[::-1]: print(int(s), end=", ")

print(afind(10**7)) # Michael S. Branicky, Mar 27 2021

CROSSREFS

Intersection of A002113 and A068601.

Sequence in context: A332197 A213960 A173852 * A349736 A110718 A293142

Adjacent sequences:  A062838 A062839 A062840 * A062842 A062843 A062844

KEYWORD

base,nonn,more

AUTHOR

Erich Friedman, Jul 21 2001

EXTENSIONS

One more term from Emeric Deutsch, Feb 26 2005

a(10)-a(14) from Michael S. Branicky, Mar 27 2021

STATUS

approved

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 December 5 17:28 EST 2021. Contains 349557 sequences. (Running on oeis4.)