A088816 Numbers of the form p^p - 2 where p is prime.
2, 25, 3123, 823541, 285311670609, 302875106592251, 827240261886336764175, 1978419655660313589123977, 20880467999847912034355032910565, 2567686153161211134561828214731016126483467
Offset: 1
Keywords
Programs
-
Mathematica
#^#-2&/@Prime[Range[10]] (* Harvey P. Dale, Sep 22 2014 *)
-
PARI
ptop(n,m) = { sr=0; forprime(x=2,n, y=x^x-m; print1(y","); sr += 1.0/y; ); print(); print(sr) }
Comments