OFFSET
1,1
COMMENTS
First composite term is 121, which corresponds to the prime 661. There are no multiples of 5 in the sequence. - Alonso del Arte, Jan 23 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Robert Israel, Plot of (a(n)-10 n)/sqrt(n)
FORMULA
It seems that a(n) is asymptotic to 10n and that a(n) = 10n + O(sqrt(n)) (i.e. (a(n) - 10n)/sqrt(n) is bounded).
EXAMPLE
prime(973) = 7673, hence 973 is in the sequence.
MAPLE
P:= select(isprime, [2, seq(i, i=3..10000, 2)]):
select(n -> (n - P[n]) mod 10 = 0, [$1..nops(P)]); # Robert Israel, May 17 2017
MATHEMATICA
Select[Range[600], Mod[#, 10] == Mod[Prime[#], 10] &] (* Harvey P. Dale, Oct 18 2018 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Benoit Cloitre, Mar 07 2002
STATUS
approved