OFFSET
0,1
LINKS
Robert Israel, Table of n, a(n) for n = 0..1000
EXAMPLE
A340116(5) = 53 and the next prime is 59, so a(5) = (59^2 - 53^2)/2^5 = 21.
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 11 2022
STATUS
approved