a(0) = 1; a(n+1) is the largest positive number (of at most two) such that abs(a(n) - a(n+1)) is the smallest prime not occurring earlier as difference of successive terms and a(n) + a(n+1) is composite.
A085061
a(0) = 1; a(n+1) is the largest positive number (of at most two) such that abs(a(n) - a(n+1)) is the smallest prime not occurring earlier as difference of successive terms and a(n) + a(n+1) is composite.
Terms
- a(0) =1a(1) =3a(2) =6a(3) =19a(4) =14a(5) =21a(6) =4a(7) =23a(8) =34a(9) =57a(10) =86a(11) =117a(12) =158a(13) =121a(14) =164a(15) =211a(16) =264a(17) =205a(18) =266a(19) =199a(20) =270a(21) =353a(22) =426a(23) =505a(24) =594a(25) =691a(26) =590a(27) =487a(28) =594a(29) =485
External references
- oeis: A085061