The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A100768 a(n) = p * (n^p) - 1 where p = prime(n). 0

%I

%S 1,23,1214,114687,537109374,169789022207,3954718737782518,

%T 2738188573441261567,203847576752007525206366,

%U 2899999999999999999999999999999,5950246173690264895628552080046140

%N a(n) = p * (n^p) - 1 where p = prime(n).

%e If n=1, then p=2 and a(1)=2*1^2 - 1 = 1.

%e If n=2, then p=3 and a(2)=3*2^3 - 1 = 23.

%e If n=3, then p=5 and a(3)=5*3^5 - 1 = 1214.

%p a:=n->ithprime(n)*n^ithprime(n)-1: seq(a(n),n=1..13); # _Emeric Deutsch_, Aug 01 2005

%t Table[Prime[n]*n^Prime[n]-1,{n,12}] (* _Harvey P. Dale_, Jul 18 2018 *)

%o (PARI) a(n) = my(p=prime(n)); p*(n^p) - 1; \\ _Michel Marcus_, Aug 16 2019

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, Jan 03 2005

%E More terms from _Emeric Deutsch_, Aug 01 2005

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

Last modified June 23 03:02 EDT 2021. Contains 345395 sequences. (Running on oeis4.)