Smallest k such that 10^k + r is a prime ending (least significant digits) in r where r is the n-th odd number not divisible by 5. 0 if no such number exists.

A088276

Smallest k such that 10^k + r is a prime ending (least significant digits) in r where r is the n-th odd number not divisible by 5. 0 if no such number exists.

Terms

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

External references