Thanks to everyone who made a donation during our annual appeal! To see the list of donors, or make a donation, see the OEIS Foundation home page.
1,2
If A276495(13) = 453143, then a(13) > 10^5.
Table of n, a(n) for n=1..12.
(MAGMA) lst:=[]; c:=0; for n in [1..31951 by 2] do m:=-1; repeat m+:=1; a:=n-2^m; until a lt 1 or IsPrime(a); if a lt 1 then k:=0; repeat k+:=1; b:=n+2^k; until IsPrime(b); if k gt c then Append(~lst, k); c:=k; end if; end if; end for; lst;
Cf. A067760, A276495.
Sequence in context: A238096 A064572 A032399 * A007969 A187902 A187231
Adjacent sequences: A276493 A276494 A276495 * A276497 A276498 A276499
nonn,hard,more
Arkadiusz Wesolowski, Sep 05 2016
Typo in name corrected by Rémy Sigrist, Sep 12 2016
approved