a(n) = the smallest prime that, when written in binary, starts with the substring of n in binary.

A164022

a(n) = the smallest prime that, when written in binary, starts with the substring of n in binary.

Terms

    a(0) =2a(1) =2a(2) =3a(3) =17a(4) =5a(5) =13a(6) =7a(7) =17a(8) =19a(9) =41a(10) =11a(11) =97a(12) =13a(13) =29a(14) =31a(15) =67a(16) =17a(17) =37a(18) =19a(19) =41a(20) =43a(21) =89a(22) =23a(23) =97a(24) =101a(25) =53a(26) =109a(27) =113a(28) =29a(29) =61

External references