login
A097059
Numbers of the form p^3 + 3^p for p prime.
3
17, 54, 368, 2530, 178478, 1596520, 129145076, 1162268326, 94143190994, 68630377389272, 617673396313738, 450283905891048016, 36472996377170855324, 328256967394537157134, 26588814358957503391610
OFFSET
1,1
EXAMPLE
For example, the first two terms are 2^3 + 3^2 = 17, 3^3 + 3^3 = 54.
MATHEMATICA
Table[Prime[n]^3 + 3^Prime[n], {n, 16}] (* Robert G. Wilson v, Sep 15 2004 *)
#^3+3^#&/@Prime[Range[20]] (* Harvey P. Dale, Jul 23 2021 *)
PROG
(PARI) forprime(p=2, 47, print1(p^3+3^p, ", ")) \\ Klaus Brockhaus
CROSSREFS
Sequence in context: A158968 A072895 A300059 * A253424 A309032 A352282
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Sep 15 2004
EXTENSIONS
More terms from Klaus Brockhaus, Ray Chandler and Robert G. Wilson v, Sep 15 2004
STATUS
approved