Write a prime p in binary. Consider the runs (that alternate between those of 1's and those of 0's) in this binary representation. Consider all binary numbers made by rearranging the runs, leaving each individual run intact, and starting each such binary number with a run of 1's, followed by a run of 0's, continuing to alternate runs of 1's and runs of 0's. A prime p is included in sequence A162855 if all such permutations of runs lead to prime values.

A162855

Write a prime p in binary. Consider the runs (that alternate between those of 1's and those of 0's) in this binary representation. Consider all binary numbers made by rearranging the runs, leaving each individual run intact, and starting each such binary number with a run of 1's, followed by a run of 0's, continuing to alternate runs of 1's and runs of 0's. A prime p is included in sequence A162855 if all such permutations of runs lead to prime values.

Terms

    a(0) =2a(1) =3a(2) =5a(3) =7a(4) =11a(5) =13a(6) =17a(7) =23a(8) =29a(9) =31a(10) =37a(11) =41a(12) =47a(13) =61a(14) =67a(15) =71a(16) =73a(17) =97a(18) =113a(19) =127a(20) =131a(21) =193a(22) =199a(23) =223a(24) =227a(25) =251a(26) =257a(27) =263a(28) =383a(29) =449

External references