login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138403 a(n) = p^3*(p-1), where p = prime(n). 5
8, 54, 500, 2058, 13310, 26364, 78608, 123462, 267674, 682892, 893730, 1823508, 2756840, 3339294, 4775858, 7741604, 11911982, 13618860, 19850358, 25053770, 28009224, 38457042, 46886534, 62037272, 87616608, 103030100, 111458154 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

Index to sequences related to prime powers

FORMULA

a(n) = A000010(prime(n)^4). - R. J. Mathar, Oct 15 2017

MATHEMATICA

a = {}; Do[p = Prime[n]; AppendTo[a, p^4 - p^3], {n, 1, 50}]; a

PROG

(PARI) forprime(p=2, 1e3, print1(p^4-p^3", ")) \\ Charles R Greathouse IV, Jun 16 2011

(MAGMA) [NthPrime((n))^4 - NthPrime((n))^3: n in [1..40] ]; // Vincenzo Librandi, Jun 17 2011

CROSSREFS

Sequence in context: A079754 A298985 A142703 * A013499 A134825 A279854

Adjacent sequences:  A138400 A138401 A138402 * A138404 A138405 A138406

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski, Mar 19 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 18:31 EST 2018. Contains 299356 sequences. (Running on oeis4.)