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!)
A254121 Primes of the form (n+1)^n - n. 0

%I #14 Sep 08 2022 08:46:11

%S 7,61,117643,793714773254131,

%T 45671926166590716193865151022383844364247891937,

%U 403343566675122500462878634623535631588559593930513766350645748813807

%N Primes of the form (n+1)^n - n.

%C Generated by n = 2, 3, 6, 13, 31, 42, 61, ...

%C The next term (a(7)) has 110 digits. - _Harvey P. Dale_, Apr 24 2016

%e 7 is in this sequence because (2+1)^2 - 2 = 7 and 7 is prime.

%t Select[Table[(n+1)^n-n,{n,70}],PrimeQ] (* _Harvey P. Dale_, Apr 24 2016 *)

%o (Magma) [a: n in [0..100] | IsPrime(a) where a is (n+1)^n - n];

%Y Cf. A177008.

%K nonn,less

%O 1,1

%A _Juri-Stepan Gerasimov_, Jan 25 2015

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 25 09:38 EDT 2024. Contains 371967 sequences. (Running on oeis4.)