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!)
A061028 a(n) = n^p - (n-1)^p, where p is the n-th prime. 1

%I #12 Jul 02 2018 01:43:19

%S 1,7,211,14197,44633821,11839990891,215703854542471,

%T 132716292890482729,8272642309293795444217,

%U 95289871302753755165078396311,181943424957750480504146841291811

%N a(n) = n^p - (n-1)^p, where p is the n-th prime.

%H Harry J. Smith, <a href="/A061028/b061028.txt">Table of n, a(n) for n = 1..95</a>

%o for(n=1,20,print1(n^prime(n)-(n-1)^prime(n)","))

%o (PARI) { n=0; forprime (p=2, prime(95), write("b061028.txt", n++, " ", n^p - (n - 1)^p); ) } \\ _Harry J. Smith_, Jul 17 2009

%K nonn

%O 1,2

%A _Jason Earls_, May 25 2001

%E More terms from _Ralf Stephan_, Mar 31 2003

%E Offset changed from 0 to 1 by _Harry J. Smith_, Jul 17 2009

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 April 19 17:51 EDT 2024. Contains 371797 sequences. (Running on oeis4.)