a(1) = 1, a(2) = 2; thereafter a "hole" is defined to be any positive number not in the sequence a(1)..a(n-1) and less than the largest term; if there exists at least one hole, then a(n) is the largest hole, otherwise a(n) = a(n-2) + a(n-1).
A060030
a(1) = 1, a(2) = 2; thereafter a "hole" is defined to be any positive number not in the sequence a(1)..a(n-1) and less than the largest term; if there exists at least one hole, then a(n) is the largest hole, otherwise a(n) = a(n-2) + a(n-1).
Terms
- a(0) =1a(1) =2a(2) =3a(3) =5a(4) =4a(5) =9a(6) =8a(7) =7a(8) =6a(9) =13a(10) =12a(11) =11a(12) =10a(13) =21a(14) =20a(15) =19a(16) =18a(17) =17a(18) =16a(19) =15a(20) =14a(21) =29a(22) =28a(23) =27a(24) =26a(25) =25a(26) =24a(27) =23a(28) =22a(29) =45
External references
- oeis: A060030