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.

A046241 Numbers whose cube is palindromic in base 9.

Original entry on oeis.org

0, 1, 2, 10, 38, 82, 91, 730, 6562, 6643, 59050, 531442, 532171, 4782970, 43046722, 43053283, 387420490, 3486784402, 3486843451, 31381059610
Offset: 1

Views

Author

Patrick De Geest, May 15 1998

Keywords

Comments

No more terms through 190000000000. - Ryan Propper, Jun 01 2006

Crossrefs

Cf. A046242.

Programs

  • PARI
    isok(k) = my(d=digits(k^3, 9)); Vecrev(d) == d; \\ Michel Marcus, Aug 02 2022
    
  • Python
    from itertools import count, islice
    from sympy.ntheory import is_palindromic as ispal
    def agen(startk=0): yield from (k for k in count(startk) if ispal(k**3, 9))
    print(list(islice(agen(), 13))) # Michael S. Branicky, Aug 02 2022

Extensions

More terms from Ryan Propper, Jun 01 2006