|
| |
|
|
A079155
|
|
The number of primes less than 10^n whose digital root (A038194) is also prime
|
|
0
| | |
|
|
|
OFFSET
| 1,1
|
|
|
EXAMPLE
| a(2) = 15 because the only primes less than 100 whose have digital roots are also prime are {2,3,5,7,11,23,29,41,43,47,59,61,79,83,97}.
|
|
|
MATHEMATICA
| c = 0; k = 1; Do[ While[ k < 10^n, If[ PrimeQ[k] && PrimeQ[ Mod[k, 9]], c++ ]; k++ ]; Print[c], {n, 1, 8}]
|
|
|
CROSSREFS
| The primes are in A078403, their digital roots are in A078400.
Sequence in context: A130679 A107874 A034496 * A076900 A081011 A008829
Adjacent sequences: A079152 A079153 A079154 * A079156 A079157 A079158
|
|
|
KEYWORD
| base,nonn
|
|
|
AUTHOR
| Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 27 2002
|
| |
|
|