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!)
A239590 Numbers whose cubes are cyclops numbers. 6
0, 42, 115, 116, 123, 135, 163, 164, 199, 498, 525, 557, 562, 564, 576, 579, 596, 615, 623, 642, 661, 666, 695, 697, 717, 721, 724, 748, 788, 806, 827, 886, 945, 961, 994, 2272, 2274, 2319, 2325, 2329, 2391, 2438, 2512, 2529, 2537, 2545, 2617, 2637, 2654 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
123 is in the sequence because 123^3 = 1860867, which is a cyclops number.
PROG
(PARI)
is_cyclops(k) = {
if(k==0, return(1));
my(d=digits(k), j);
if(#d%2==0 || d[#d\2+1]!=0, return(0));
for(j=1, #d\2, if(d[j]==0, return(0)));
for(j=#d\2+2, #d, if(d[j]==0, return(0)));
return(1)}
s=[]; for(n=0, 3000, if(is_cyclops(n^3), s=concat(s, n))); s
CROSSREFS
Sequence in context: A044610 A335064 A128674 * A064498 A113518 A044293
KEYWORD
nonn,base
AUTHOR
Colin Barker, Mar 24 2014
STATUS
approved

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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)