login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A098105
a(n) = 2^p - p^2 where p is the n-th prime.
2
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,3
REFERENCES
E.-B. Escott, Note #1642, L'Intermédiaire des Mathématiciens, 8 (1901), page 12. - N. J. A. Sloane, Mar 02 2022
MATHEMATICA
Table[2^Prime[n] - Prime[n]^2, {n, 20}] (* Robert G. Wilson v, Sep 23 2004 *)
CROSSREFS
Sequence in context: A365782 A362773 A235370 * A201301 A159524 A113034
KEYWORD
sign
AUTHOR
Parthasarathy Nambi, Sep 22 2004
EXTENSIONS
More terms from Robert G. Wilson v, Sep 23 2004
STATUS
approved