OFFSET
1,1
EXAMPLE
3 + 4 = 7, the least non-Pythagorean prime after 3,
and 3 + 7 - 3 = 7, a Pythagorean prime, so a(1) = 4.
MATHEMATICA
s = Select[Prime[Range[450]], Mod[#, 4] == 3 &]
a[n_] := Select[Range[200], MemberQ[s, s[[n]] + #] && PrimeQ[2 s[[n]] + # - 3] &, 1]
Flatten[Table[a[n], {n, 1, 140}]]
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Clark Kimberling, Jan 13 2025
STATUS
approved