login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276496 a(n) is the least positive k such that A276495(n) + 2^k is prime. 1
1, 2, 5, 6, 10, 11, 60, 75, 1404, 1974, 16389, 37105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
If A276495(13) = 453143, then a(13) > 10^5.
LINKS
PROG
(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;
CROSSREFS
Sequence in context: A238096 A064572 A032399 * A007969 A187902 A187231
KEYWORD
nonn,hard,more
AUTHOR
EXTENSIONS
Typo in name corrected by Rémy Sigrist, Sep 12 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)