Variation on Ulam numbers: a(1) = 1; a(2) = 2; for n>2, a(n) is smallest (n odd) or largest (n even) new number that is the sum of two distinct earlier terms.

A081025

Variation on Ulam numbers: a(1) = 1; a(2) = 2; for n>2, a(n) is smallest (n odd) or largest (n even) new number that is the sum of two distinct earlier terms.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =5a(4) =4a(5) =9a(6) =8a(7) =17a(8) =14a(9) =31a(10) =15a(11) =48a(12) =21a(13) =79a(14) =30a(15) =127a(16) =40a(17) =206a(18) =41a(19) =333a(20) =47a(21) =539a(22) =53a(23) =872a(24) =63a(25) =1411a(26) =66a(27) =2283a(28) =75a(29) =3694

External references