Write a(n) as a four-bit number; those bits state whether 10n+1, 10n+3, 10n+7 and 10n+9 are primes.

A105052

Write a(n) as a four-bit number; those bits state whether 10n+1, 10n+3, 10n+7 and 10n+9 are primes.

Terms

    a(0) =6a(1) =15a(2) =5a(3) =10a(4) =14a(5) =5a(6) =10a(7) =13a(8) =5a(9) =2a(10) =15a(11) =4a(12) =2a(13) =11a(14) =1a(15) =10a(16) =6a(17) =5a(18) =8a(19) =15a(20) =0a(21) =8a(22) =7a(23) =5a(24) =8a(25) =10a(26) =5a(27) =10a(28) =12a(29) =4

External references