login
A139241
Second differences of Mersenne numbers A001348.
4
20, 72, 1824, 4224, 116736, 270336, 7471104, 520617984, 1082130432, 133680857088, 1926292832256, 4535485464576, 125344325566464, 8734520371052544, 558587091282296832, 1161928703861587968, 143538727323552448512, 2068341179264683474944, 4869940435459321626624
OFFSET
1,1
LINKS
FORMULA
a(n) = 2^prime(n+2)-2^(prime(n+1)+1)+2^prime(n). - Michel Marcus, Mar 13 2020
MATHEMATICA
Differences[2^Prime[Range[25]]-1, 2] (* Paolo Xausa, Oct 20 2023 *)
PROG
(PARI) a(n) = 2^prime(n+2)-2^(prime(n+1)+1)+2^prime(n); \\ Michel Marcus, Mar 13 2020
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Apr 19 2008
EXTENSIONS
More terms from Alois P. Heinz, Mar 13 2020
STATUS
approved