a(0) = 1; a(n+1) is the smallest 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.
A085401
a(0) = 1; a(n+1) is the smallest 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) =7a(6) =18a(7) =37a(8) =20a(9) =43a(10) =14a(11) =51a(12) =82a(13) =41a(14) =84a(15) =37a(16) =96a(17) =149a(18) =88a(19) =155a(20) =226a(21) =299a(22) =220a(23) =137a(24) =48a(25) =155a(26) =58a(27) =159a(28) =56a(29) =165
External references
- oeis: A085401