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”).

A100105
a(n) = 2^prime(n)-prime(n).
3
2, 5, 27, 121, 2037, 8179, 131055, 524269, 8388585, 536870883, 2147483617, 137438953435, 2199023255511, 8796093022165, 140737488355281, 9007199254740939, 576460752303423429, 2305843009213693891
OFFSET
1,1
LINKS
MAPLE
seq( (2^ithprime(x)-ithprime(x)), x=1..20);
MATHEMATICA
f[n_]:=(2^Prime[n]-Prime[n]); Array[f, 4!, 1] (* Vladimir Joseph Stephan Orlovsky, Oct 17 2009 *)
PROG
(Magma) [2^p - p: p in PrimesUpTo(80)]; // Vincenzo Librandi, Jun 03 2014
CROSSREFS
Sequence in context: A090744 A041571 A042259 * A087130 A265266 A097565
KEYWORD
nonn
AUTHOR
Jorge Coveiro, Dec 26 2004
STATUS
approved