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”).

A199977
Primes whose multiplicative digital root is 0.
2
59, 101, 103, 107, 109, 239, 251, 257, 269, 293, 307, 349, 353, 401, 409, 439, 457, 479, 503, 509, 521, 523, 541, 547, 563, 569, 577, 587, 599, 601, 607, 619, 653, 659, 691, 701, 709, 757, 787, 809, 853, 857, 859, 877, 907, 947, 997, 1009, 1013, 1019, 1021
OFFSET
1,1
COMMENTS
Complement of A199978 with respect to A034048.
LINKS
EXAMPLE
Prime 239 is in sequence because 2*3*9 = 45, 4*5 = 20, 2*0 = 0.
MAPLE
mdr:= proc(n) local L, r;
r:= n;
while r >= 10 do
r:= convert(convert(r, base, 10), `*`)
od;
r
end proc:
select(mdr=0, [seq(ithprime(i), i=1..1000)]); # Robert Israel, Feb 28 2021
MATHEMATICA
digRoot[n_] := Module[{k = n}, While[k > 9, k = Times @@ IntegerDigits[k]]; k]; Select[Range[1200], PrimeQ[#] && digRoot[#] == 0 &] (* T. D. Noe, Nov 23 2011 *)
CROSSREFS
Cf. A199978 (nonprime numbers whose multiplicative digital root is 0).
Sequence in context: A142152 A112804 A240339 * A134573 A106869 A147092
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Nov 13 2011
STATUS
approved