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

A075077
a(1) =1 and then the smallest number not occurring earlier such that a(n)+a(n+1) gives a different composite number (not obtained earlier).
1
1, 3, 5, 4, 2, 8, 6, 9, 7, 11, 10, 12, 13, 14, 16, 17, 15, 19, 20, 18, 22, 23, 21, 25, 24, 26, 28, 27, 29, 31, 32, 30, 34, 35, 33, 37, 38, 36, 40, 41, 39, 43, 42, 44, 46, 45, 47, 48, 50, 49, 51, 53, 52, 54, 56, 55, 57, 58, 59, 60, 61, 62, 63, 65, 64, 66, 67, 68, 70, 71, 69, 73
OFFSET
1,2
EXAMPLE
19 (not 18) follows 15 though 15+18 = 33 is also composite but 33 is already obtained as 16 +17.
CROSSREFS
Cf. A075078.
Sequence in context: A253074 A055266 A338843 * A196771 A266121 A340255
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 09 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 01 2003
STATUS
approved