OFFSET
2,2
COMMENTS
The primes in this sequence are 2, 3, 7, 11, 17, 43, 59, 191, 197, 257, ...
The squares are 1, 4, 9, 36, 144,...
FORMULA
a(n) = A005250(n)/2 for n>1.
MATHEMATICA
max = 10^7; Module[{d = Differences[Prime[Range[max]]], ls = {2}}, Table[If[d[[n]] > Last[ls], AppendTo[ls, d[[n]]]], {n, max - 1}]; ls/2]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Mar 22 2016
EXTENSIONS
a(55)-a(80) using b-file of A005250 by Hugo Pfoertner, Oct 30 2021
STATUS
approved