The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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

%I #16 Sep 08 2022 08:46:17

%S 1,2,5,6,10,11,60,75,1404,1974,16389,37105

%N a(n) is the least positive k such that A276495(n) + 2^k is prime.

%C If A276495(13) = 453143, then a(13) > 10^5.

%o (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;

%Y Cf. A067760, A276495.

%K nonn,hard,more

%O 1,2

%A _Arkadiusz Wesolowski_, Sep 05 2016

%E Typo in name corrected by _Rémy Sigrist_, Sep 12 2016

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 May 22 21:38 EDT 2024. Contains 372758 sequences. (Running on oeis4.)