login
A254121
Primes of the form (n+1)^n - n.
0
7, 61, 117643, 793714773254131, 45671926166590716193865151022383844364247891937, 403343566675122500462878634623535631588559593930513766350645748813807
OFFSET
1,1
COMMENTS
Generated by n = 2, 3, 6, 13, 31, 42, 61, ...
The next term (a(7)) has 110 digits. - Harvey P. Dale, Apr 24 2016
EXAMPLE
7 is in this sequence because (2+1)^2 - 2 = 7 and 7 is prime.
MATHEMATICA
Select[Table[(n+1)^n-n, {n, 70}], PrimeQ] (* Harvey P. Dale, Apr 24 2016 *)
PROG
(Magma) [a: n in [0..100] | IsPrime(a) where a is (n+1)^n - n];
CROSSREFS
Cf. A177008.
Sequence in context: A048287 A317430 A145507 * A047685 A171078 A368057
KEYWORD
nonn,less
AUTHOR
STATUS
approved