OFFSET
1,1
COMMENTS
Corresponding primes:
37, 47, 73, 137, 281, 379, 433, 487, 677, 1109, 1693, 2179, 2657, 3719, 4861, 4889, 5077, 5501, 5717, 5807, 5861, 6203, 6373, 6581, 6761, 6977, 7229, 7687, 7867, 8147, 8209, 8443, 8929, 9029, 9091, 9281, 9677, 9749, 10163, 10253, 10369, 10567, 10667, 10729, 10837, 11117, 11719, 11981.
Conjecture: a(n) ~ 27n. - Charles R Greathouse IV, Jun 18 2015
All terms are divisible by 3 but not by 9. - Robert Israel, Dec 03 2019
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
droot:= n -> subs(0=9, n mod 9):
select(t -> droot(t) = 3*droot(ithprime(t)), [seq(i, i=3..10000, 3)]); # Robert Israel, Dec 03 2019
MATHEMATICA
Reap[Do[If[FixedPoint[Total[IntegerDigits[#]]&, n]==3*Mod[Prime[n], 9], Sow[{n, Prime[n]}]], {n, 2000}]][[2, 1]]
PROG
(PARI) n=0; forprime(p=2, 1e4, if(p%9*3==n++%9, print1(n", "))) \\ Charles R Greathouse IV, Jun 18 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Jun 17 2015
STATUS
approved