OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..2000
MATHEMATICA
terms = 62; (* b = A050170 *) b[1] = 1; b[n_] := b[n] = If[FreeQ[Join[{0}, Array[b, n-1]], f = Floor[b[n-1]/Sqrt[5]]], f, Floor[b[n-1]*Sqrt[5]]]; Table[FirstPosition[Array[b, 6*terms], n], {n, 1, terms}] // Flatten (* Jean-François Alcover, Sep 12 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Missing terms inserted by Jean-François Alcover, Sep 12 2017
STATUS
approved