Let Compri(n) be the number obtained by replacing each prime digit (2,3,5,7) of n with a '1' and a composite digit( 0,4,6,8,9) with a '0'. A 1 remains the same. a(n) = Compri(n).
A087381
Let Compri(n) be the number obtained by replacing each prime digit (2,3,5,7) of n with a '1' and a composite digit( 0,4,6,8,9) with a '0'. A 1 remains the same. a(n) = Compri(n).
Terms
- a(0) =1a(1) =1a(2) =1a(3) =0a(4) =1a(5) =0a(6) =1a(7) =0a(8) =0a(9) =10a(10) =11a(11) =11a(12) =11a(13) =10a(14) =11a(15) =10a(16) =11a(17) =10a(18) =10a(19) =10a(20) =11a(21) =11a(22) =11a(23) =10a(24) =11a(25) =10a(26) =11a(27) =10a(28) =10a(29) =10
External references
- oeis: A087381