OFFSET
1,2
MATHEMATICA
Table[2*(Prime[n + 1] - Prime[n]) - 1, {n, 100}]
2(Last[#]-First[#])-1&/@Partition[Prime[Range[90]], 2, 1] (* Harvey P. Dale, Jul 28 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Dec 18 2004
EXTENSIONS
Edited and extended by Ray Chandler, Jan 19 2005
STATUS
approved