login
a(0)=2; for n>0, a(n) is the smallest (odd or even) prime p such that the n-th prime p_n divides a(n-1)+p.
2

%I #7 Dec 12 2015 12:32:10

%S 2,2,7,3,11,11,2,83,31,61,113,11,137,109,149,227,197,157,331,71,71,2,

%T 709,619,271,311,1103,751,2459,157,521,241,283,1087,859,631,577,1307,

%U 1301,2039,37,1753,419,727,431,751,443,401,491,2687,61

%N a(0)=2; for n>0, a(n) is the smallest (odd or even) prime p such that the n-th prime p_n divides a(n-1)+p.

%C Agrees with A227827 from a(8) on.

%Y Cf. A227826, A227827.

%K nonn

%O 0,1

%A _Daniel Drucker_, Jul 21 2013