A098105 a(n) = 2^p - p^2 where p is the n-th prime.
0, -1, 7, 79, 1927, 8023, 130783, 523927, 8388079, 536870071, 2147482687, 137438952103, 2199023253871, 8796093020359, 140737488353119, 9007199254738183, 576460752303420007, 2305843009213690231, 147573952589676408439, 2361183241434822601807, 9444732965739290422063, 604462909807314587346847, 9671406556917033397642519
Offset: 1
Keywords
References
- E.-B. Escott, Note #1642, L'Intermédiaire des Mathématiciens, 8 (1901), page 12. - N. J. A. Sloane, Mar 02 2022
Programs
-
Mathematica
Table[2^Prime[n] - Prime[n]^2, {n, 20}] (* Robert G. Wilson v, Sep 23 2004 *)
Extensions
More terms from Robert G. Wilson v, Sep 23 2004