login
A114742
Value of k pertaining to A114741.
1
4, 4, 4, 6, 4, 6, 10, 2, 6, 4, 8, 8, 6, 22, 18, 4, 194, 26, 1352, 20, 5046, 16, 8070, 18, 44532, 232, 205862, 14, 188540, 80, 682452, 34, 553220, 72, 3310756, 78, 31907920, 60, 147850530, 82, 174357156, 6, 120995076, 6, 37671114, 22, 15590712, 34
OFFSET
1,1
FORMULA
a(n) = (A114741(n+1) + A114741(n+2))/A114741(n).
PROG
(PARI) { P=Set([2, 3]); u=2; v=3; for(i=1, 100, k=ceil(v/u); while( !ispseudoprime(t=k*u-v) || setsearch(P, t), k++); P=setunion(P, Set([t])); u=v; v=t; print1(k, ", ") ) } \\ Max Alekseyev, Dec 13 2011
CROSSREFS
Cf. A114741.
Sequence in context: A141241 A140696 A160401 * A273909 A098013 A073229
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 15 2005
EXTENSIONS
More terms from Franklin T. Adams-Watters, Jul 17 2006
More terms from Max Alekseyev, Dec 13 2011
STATUS
approved