|
|
A277605
|
|
Numbers not in a Fibonacci sequence starting with two 1-digit numbers.
|
|
3
|
|
|
106, 114, 119, 122, 127, 130, 132, 135, 140, 143, 145, 148, 151, 153, 156, 158, 161, 164, 166, 169, 171, 172, 174, 177, 179, 182, 184, 185, 187, 190, 192, 193, 195, 197, 198, 200, 203, 205, 206, 208, 210, 211, 213, 214, 216, 218, 219, 221, 224, 226
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
106 is in this sequence because it is not in any Fibonacci sequence starting with two 1-digit numbers.
|
|
MATHEMATICA
|
With[{nn = 226}, Complement[Range@ nn, 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 *)
|
|
PROG
|
(PARI) is(n)=if(n<106, return(0)); for(a=1, 9, for(b=1, 9, my(x=a, y=a+b); while(y<n, [x, y]=[y, x+y]); if(y==n, return(0)))); 1 \\ Charles R Greathouse IV, Oct 30 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|