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!)
A294682 Numbers n such that A294386(n) = 2^(k-1)*(2^k - 2*n - 1) for some k such that 2^k - 2*n - 1 is prime. 0
0, 12, 62, 121, 126, 205, 241, 877, 1021, 1022, 1645, 2041, 2424, 2761, 2791, 2965, 3355, 3445, 3541, 4021, 4081, 4094, 4165, 4825, 5071, 5191, 5251, 5593, 6151, 6385, 6631, 7465, 7765, 7884, 8137, 8188 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(3) = 62 is in the sequence because A294386(62) = 192 = 2^6*3 where 2^7 - 2*62 - 1 = 3 is prime.
MAPLE
# Assuming A294386[n] has been assigned for n from 0 to N
Res:= NULL:
for n from 0 to N do
for k from ilog2(2*n+1)+1 do
p:= 2^k - 2*n-1;
if 2^(k-1)*p > A294386[n] then break fi;
if isprime(p) then
if A294386[n] = 2^(k-1)*p then Res:= Res, n fi;
break
fi
od
od:
Res;
CROSSREFS
Sequence in context: A127766 A005173 A196144 * A177677 A045822 A065595
KEYWORD
nonn,more
AUTHOR
Robert Israel, Nov 06 2017
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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)