a(n) is the sum of the common digits of n and the n-th prime in base 10, or -1 if there are no common digits.

A081229

a(n) is the sum of the common digits of n and the n-th prime in base 10, or -1 if there are no common digits.

Terms

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

External references