Iterate the map x -> A230625(x) starting at n; sequence gives the first prime (or 1) that is reached, written in base 2, or -1 if no prime is ever reached.

A287875

Iterate the map x -> A230625(x) starting at n; sequence gives the first prime (or 1) that is reached, written in base 2, or -1 if no prime is ever reached.

Terms

    a(0) =1a(1) =10a(2) =11a(3) =11111a(4) =101a(5) =1011a(6) =111a(7) =1011a(8) =10111a(9) =11111a(10) =1011a(11) =101011a(12) =1101a(13) =10111a(14) =11101a(15) =11111011a(16) =10001a(17) =10111a(18) =10011a(19) =11111011a(20) =11111a(21) =101011a(22) =10111a(23) =101111a(24) =101011a(25) =111001111a(26) =11101a(27) =10111a(28) =11101a(29) =1111111

External references