The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A282462 Integers but with the primes cubed. 1
0, 1, 8, 27, 4, 125, 6, 343, 8, 9, 10, 1331, 12, 2197, 14, 15, 16, 4913, 18, 6859, 20, 21, 22, 12167, 24, 25, 26, 27, 28, 24389, 30, 29791, 32, 33, 34, 35, 36, 50653, 38, 39, 40, 68921, 42, 79507, 44, 45, 46, 103823, 48, 49, 50, 51, 52, 148877, 54, 55, 56 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
a(4) = 4 because 4 is composite.
a(5) = 125 because 5 is prime and 5^3 = 125.
MATHEMATICA
Join[{0}, If[PrimeQ@#, #^3, #]&/@Range@80]
PROG
(Magma) [0] cat [IsPrime(n) select n^3 else n: n in [1..60]];
CROSSREFS
Sequence in context: A257853 A070492 A070711 * A056555 A070491 A070490
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 17 2017
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 June 12 23:09 EDT 2024. Contains 373360 sequences. (Running on oeis4.)