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!)
A168158 Indices n for which A168157(n) is prime. 0

%I #6 Apr 03 2023 10:36:11

%S 7,10,11,12,15,18,29,35,45,49,51,55,58,65,80,82,84,89,93,95,114,119,

%T 128,130,140,142,149,155,157,160,166,171,173,175,191,192,209,210,218,

%U 235,240,251,262,263,269,280,305,315,321,324,328,337,341,344,345,363,372

%N Indices n for which A168157(n) is prime.

%C If n=primepi(2^k-1) is in this sequence, then A158671(k) is prime. This happens for k=5, 6, 18,... corresponding to n=11, 18, 23000,... (cf. link).

%H C. Caldwell, G. L. Honaker, Editors: <a href="https://t5k.org/curios/page.php?short=18&amp;submitter=Post">Prime curio!: 18</a> by J. Vos Post.

%o (PARI) s=0; for(n=1,999, isprime(n*#(b=binary(prime(n)))-s+=norml2(b)) & print1(n", "))

%K nonn

%O 1,1

%A _M. F. Hasler_, Nov 21 2009

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 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)