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

A175445
a(n)>a(n-1), a(n) = smallest prime such that a(n)+a(n-1) is multiple of m, a(1)=2, m=9.
1
2, 7, 11, 43, 47, 61, 83, 97, 101, 151, 173, 223, 227, 241, 263, 277, 281, 313, 317, 331, 353, 367, 389, 421, 443, 457, 461, 547, 569, 601, 641, 673, 677, 691, 821, 853, 857, 907, 911, 997, 1019, 1033, 1091, 1123, 1163, 1213, 1217, 1231, 1289, 1303, 1307
OFFSET
1,1
LINKS
MATHEMATICA
nxt[n_]:=Module[{c=NextPrime[n]}, While[!Divisible[n+c, 9], c= NextPrime[ c]]; c]; NestList[nxt, 2, 60] (* Harvey P. Dale, Feb 18 2012 *)
CROSSREFS
Cf. A175451.
Sequence in context: A297348 A023250 A106013 * A352762 A373124 A073623
KEYWORD
nonn
AUTHOR
Zak Seidov, May 28 2010
STATUS
approved