login
This site is supported by donations 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

Table of n, a(n) for n=1..12.

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

Cf. A067760, A276495.

Sequence in context: A238096 A064572 A032399 * A007969 A187902 A187231

Adjacent sequences:  A276493 A276494 A276495 * A276497 A276498 A276499

KEYWORD

nonn,hard,more

AUTHOR

Arkadiusz Wesolowski, Sep 05 2016

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 24 03:21 EST 2018. Contains 299595 sequences. (Running on oeis4.)