login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A024627
Positions of cubes among the powers of primes (A000961).
1
1, 7, 16, 28, 43, 87, 118, 153, 245, 361, 605, 699, 930, 1514, 1881, 2294, 2777, 3303, 3591, 5280, 6946, 7892, 10027, 11212, 13871, 18550, 20323, 23151, 26219, 30762, 33157, 41178, 44126, 47156, 57135, 72447, 80965, 85429, 94953, 99932, 110400
OFFSET
1,2
PROG
(PARI) lista(nn) = {vec = vector(nn, i, i); powpr = select((i->((omega(i)==1) || (i==1))), vec); for (i = 1, #powpr, if (ispower(powpr[i], 3), print1(i, ", ")); ); }
CROSSREFS
Cf. A024626.
Sequence in context: A345071 A351044 A133694 * A211784 A180724 A212866
KEYWORD
nonn
STATUS
approved