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

A084331
a(1) = 2; a(n+1) is the least prime p not already used such that |p-a(n)| is not equal to |a(k+1)-a(k)| for any k < n.
6
2, 3, 5, 11, 7, 17, 29, 13, 31, 23, 37, 59, 19, 43, 71, 41, 61, 97, 47, 73, 107, 53, 101, 139, 67, 109, 167, 79, 131, 163, 83, 127, 173, 89, 149, 211, 103, 179, 113, 181, 251, 137, 193, 257, 151, 229, 311, 157, 269, 359, 191, 277, 373, 197, 271, 389, 199, 293
OFFSET
1,1
EXAMPLE
13 (not 19) follows 29 as 29-13 = 16 has not occurred as the difference of successive terms, though 19 has also not occurred earlier but 29-19 = 10 = 17-7.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jun 17 2003
EXTENSIONS
Edited and extended by David Wasserman, Dec 14 2004
STATUS
approved