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
KEYWORD
nonn,less
AUTHOR
Juri-Stepan Gerasimov, Jan 25 2015
STATUS
approved