login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A350688
a(n) = (q^2 - A340116(n)^2)/2^n where q is the next prime after A340116(n).
1
5, 2, 1, 3, 1, 21, 45, 15, 3, 9, 105, 39, 63, 105, 3, 75, 57, 99, 273, 69, 3, 231, 15, 315, 33, 495, 603, 39, 1617, 975, 63, 285, 1995, 171, 765, 141, 603, 429, 1677, 339, 2793, 231, 273, 315, 435, 9, 765, 69, 4257, 735, 1485, 1245, 423, 585, 375, 1155, 333, 645, 105, 231, 1965, 1209, 63, 735
OFFSET
0,1
LINKS
EXAMPLE
A340116(5) = 53 and the next prime is 59, so a(5) = (59^2 - 53^2)/2^5 = 21.
CROSSREFS
Cf. A340116.
Sequence in context: A158625 A133615 A136161 * A197383 A348186 A356030
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 11 2022
STATUS
approved