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

a(1) = 2, a(2) = 3, a(n+1) = least prime of the form k*(a(n-1)) - a(n) not included earlier.
1

%I #4 Dec 05 2013 19:57:14

%S 2,3,5,7,13,29,23,151,79,223,251,641,1367,3761,4441,78301,1637,311567,

%T 6011,8094731,32141,161862479,321007,2589478657,1047833,46609567993,

%U 52531163,10813367243213,803034293,151386338370689,17747231531

%N a(1) = 2, a(2) = 3, a(n+1) = least prime of the form k*(a(n-1)) - a(n) not included earlier.

%C Only positive primes are allowed. The alternation between larger and smaller values that develops at n=16 is interesting. It is not clear whether it continues indefinitely. - _Franklin T. Adams-Watters_, Jul 17 2006

%Y Cf. A114742.

%K nonn

%O 1,1

%A _Amarnath Murthy_, Nov 15 2005

%E More terms from _Franklin T. Adams-Watters_, Jul 17 2006