For each natural number n: if the last digit of n is not zero and A004086(n) is prime, append A004086(n) to the sequence.

A104154

For each natural number n: if the last digit of n is not zero and A004086(n) is prime, append A004086(n) to the sequence.

Terms

    a(0) =2a(1) =3a(2) =5a(3) =7a(4) =11a(5) =31a(6) =41a(7) =61a(8) =71a(9) =13a(10) =23a(11) =43a(12) =53a(13) =73a(14) =83a(15) =17a(16) =37a(17) =47a(18) =67a(19) =97a(20) =19a(21) =29a(22) =59a(23) =79a(24) =89a(25) =101a(26) =401a(27) =601a(28) =701a(29) =211

External references