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!)
A181149 a(n) = prime(n)^3 + prime(n)^2 + prime(n). 3
14, 39, 155, 399, 1463, 2379, 5219, 7239, 12719, 25259, 30783, 52059, 70643, 81399, 106079, 151739, 208919, 230763, 305319, 363023, 394419, 499359, 578759, 712979, 922179, 1040603, 1103439, 1236599, 1307019 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) is semiprime just when prime(n) is in A053182. - Charles R Greathouse IV, Apr 23 2022
LINKS
FORMULA
a(n) = A135178(n) + A000040(n). - Elmo R. Oliveira, Mar 22 2023
EXAMPLE
a(4)=399 because the 4th prime is 7, 7^3 = 343, 7^2 = 49, and 343 + 49 + 7 = 399.
MAPLE
A181149 := n -> map (p -> p^(3)+p^(2)+p, ithprime(n)):
seq (A181149(n), n=1..40);
MATHEMATICA
#^3+#^2+#&/@Prime[Range[30]] (* Harvey P. Dale, Aug 13 2013 *)
PROG
(Magma) [p^3+p^2+p: p in PrimesUpTo(500)] // Vincenzo Librandi, Jan 26 2011
(PARI) a(n, p=prime(n))=p^3+p^2+p \\ Charles R Greathouse IV, Apr 23 2022
CROSSREFS
Cf. p: A000040; p^2: A001248; p^3: A030078; p^2+p: A036690; p^3+p^2: A135178.
Sequence in context: A051866 A162266 A368717 * A019063 A101740 A069126
KEYWORD
nonn,easy
AUTHOR
Jani Melik, Jan 24 2011
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 July 19 09:55 EDT 2024. Contains 374392 sequences. (Running on oeis4.)