login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046233 Numbers whose cube is palindromic in base 5. 5

%I #18 Aug 02 2022 15:40:12

%S 0,1,6,26,126,626,3126,15626,78126,390626,1953126,9765626,48828126,

%T 244140626,1220703126,6103515626,30517578126,152587890626,

%U 762939453126,3814697265626,19073486328126,95367431640626,476837158203126

%N Numbers whose cube is palindromic in base 5.

%C Note that '626' is itself palindromic.

%C Contains all A034474(n), n>=1, as a subset because (5^n+1)^3=5^(3n)+3*5^(2n)+3*5^n+1 is a symmetric string 100..00300..00300..001 in base 5. [_R. J. Mathar_, Jul 31 2008]

%H Patrick De Geest, <a href="http://www.worldofnumbers.com/index.html">World!Of Numbers</a>

%o (PARI) isok(k) = my(d=digits(k^3, 5)); Vecrev(d) == d; \\ _Michel Marcus_, Aug 02 2022

%o (Python)

%o from itertools import count, islice

%o from sympy.ntheory import is_palindromic as ispal

%o def agen(start=0): yield from (k for k in count(start) if ispal(k**3, 5))

%o print(list(islice(agen(), 10))) # _Michael S. Branicky_, Aug 02 2022

%Y Cf. A034474, A046234.

%K nonn,base,more

%O 1,3

%A _Patrick De Geest_, May 15 1998

%E More terms from Megan Francis (mkf5011(AT)psu.edu), Nov 15 2005

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 14:46 EDT 2024. Contains 372215 sequences. (Running on oeis4.)