a(1) = 2. For n>1, let s denote the binary string of a(n-1) with the leftmost 1 and following consecutive 0's removed. Then a(n) is the smallest prime not yet present whose binary representation begins with s.
A262350
a(1) = 2. For n>1, let s denote the binary string of a(n-1) with the leftmost 1 and following consecutive 0's removed. Then a(n) is the smallest prime not yet present whose binary representation begins with s.
Terms
- a(0) =2a(1) =3a(2) =5a(3) =7a(4) =13a(5) =11a(6) =29a(7) =53a(8) =43a(9) =23a(10) =31a(11) =61a(12) =59a(13) =109a(14) =181a(15) =107a(16) =173a(17) =367a(18) =223a(19) =191a(20) =127a(21) =509a(22) =1013a(23) =4013a(24) =3931a(25) =3767a(26) =13757a(27) =11131a(28) =2939a(29) =1783
External references
- oeis: A262350