login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A261371
Prime numbers that sum to a prime when added to their digital root.
0
11, 13, 29, 53, 67, 71, 89, 101, 103, 137, 191, 193, 227, 229, 233, 269, 281, 359, 431, 449, 461, 463, 499, 569, 593, 641, 643, 659, 683, 701, 719, 769, 821, 823, 857, 859, 877, 967, 1019, 1061, 1091, 1093, 1223, 1289, 1439, 1451, 1487, 1489, 1579, 1597, 1601, 1619
OFFSET
1,1
FORMULA
(a(n) mod 9) mod 2 = 0. - Altug Alkan, Sep 28 2015
EXAMPLE
11 (prime) + 2 (its digital root) = 13 (prime);
89 (prime) + 8 (its digital root) = 97 (prime).
MATHEMATICA
Select[Prime[Range[300]], PrimeQ[# + Mod[#, 9]] &] (* Vincenzo Librandi, Sep 29 2015 *)
PROG
(PARI) lista(nn) = forprime(p=2, nn, if (isprime(p + p%9), print1(p, ", "))); \\ Michel Marcus, Sep 12 2015
(Magma) [p: p in PrimesUpTo(2000) | IsPrime(p+(p mod 9))]; // Vincenzo Librandi, Sep 29 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gary Croft, Sep 11 2015
STATUS
approved