OFFSET
1,6
COMMENTS
LINKS
T. D. Noe, Rows n = 1..100, flattened
EXAMPLE
The triangle begins
0
0, 1
0, 1, 2
0, 1, 2, 3
0, 1, 2, 3, 4
0, 1, 2, 3, 4, 5
0, 1, 2, 3, 4, 5, 6
0, 1, 2, 3, 5, 7
0, 1, 2, 3, 4, 5, 6, 7, 8
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
MATHEMATICA
pisano[n_] := Module[{a = {1, 0}, a0, k = 0, s}, If[n == 1, 1, a0 = a; While[k++; s = Mod[Total[a], n]; a[[1]] = a[[2]]; a[[2]] = s; a != a0]; k]]; Flatten[Table[p=pisano[n]; f=Mod[Fibonacci[Range[0, p]], n]; Union[f], {n, 15}]]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
T. D. Noe, May 10 2011
STATUS
approved