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!)
A175210 a(n) = largest prime (or 1, if no such prime exists) that is < p(n) and whose binary representation occurs as a substring in the binary representation of p(n), where p(n) is the n-th prime. 2

%I #8 Mar 11 2014 01:32:51

%S 1,1,2,3,5,5,2,3,11,13,7,5,5,11,23,13,29,29,3,17,2,19,41,11,3,37,19,

%T 53,13,17,31,3,17,17,37,37,29,17,83,43,89,53,47,3,17,71,83,47,113,101,

%U 41,59,113,61,2,131,67,67,17,17,17,73,19,23,19,79,41,17,173,43,97,179,47

%N a(n) = largest prime (or 1, if no such prime exists) that is < p(n) and whose binary representation occurs as a substring in the binary representation of p(n), where p(n) is the n-th prime.

%C Only a(1) and a(2) = 1.

%e 29, the 10th prime, is 11101 in binary. The largest prime that is < 29 and whose binary representation occurs as a substring in this is 13 (1101 in binary), which occurs in binary 29 as follows: 1(1101). So a(10) = 13.

%K base,nonn

%O 1,3

%A _Leroy Quet_, Mar 05 2010

%E Extended by _Ray Chandler_, Mar 13 2010

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