OFFSET
1,1
COMMENTS
Conjecture: all a(n) > 0.
LINKS
Robert Israel, Table of n, a(n) for n = 1..2845
EXAMPLE
a(4) = 13 because the sum of the four consecutive primes starting at 13 is 13+17+19+23=72 which is the oblong number 8*9, and this is the first prime for which the sum is an oblong number.
MAPLE
N:= 10^5: P:= select(isprime, [2, seq(i, i=3..N, 2)]):
S:= ListTools:-PartialSums([0, op(P)]):
nP:= nops(S):
f:= proc(n) local i;
for i from 1 to nP-n do
if issqr(1+4*(S[i+n]-S[i])) then return P[i] fi
od;
FAIL
end proc:
R:= NULL:
for i from 1 do
v:= f(2*i);
if v = FAIL then break fi;
R:= R, v
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 20 2020
STATUS
approved