OFFSET
1,3
COMMENTS
The first missing positive integer is 106.
LINKS
Bobby Jacobs, Table of n, a(n) for n = 1..500
EXAMPLE
100 is in this sequence because 100 is in the Fibonacci sequence starting with 6 and 4: 6, 4, 10, 14, 24, 38, 62, 100, ...
MATHEMATICA
With[{nn = 110}, TakeWhile[Union@ Flatten@ Map[LinearRecurrence[{1, 1}, #, 1 + Floor[1/2 + Log[GoldenRatio, Sqrt[5] nn]]] &, Tuples[Range@ 9, 2]], # <= nn &]] (* Michael De Vlieger, Aug 19 2017 *)
Take[Flatten[LinearRecurrence[{1, 1}, #, 20]&/@Tuples[Range[0, 9], 2]]//Union, 120] (* Harvey P. Dale, Oct 06 2017 *)
PROG
(PARI) list(lim)=if(lim<106, return([0..lim\1])); my(v=List([0..105])); for(t=1, 9, my(x=t, y=t); while(y<=lim, listput(v, y); [x, y]=[y, x+y])); for(m=1, 9, for(n=1, 9, my(x=m, y=n); while(y<=lim, listput(v, y); [x, y]=[y, x+y]))); Set(v) \\ Charles R Greathouse IV, Aug 21 2017
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Bobby Jacobs, Aug 19 2017
STATUS
approved