(MAGMAMagma) [Fibonacci(n) mod 1000: n in [0..80]]; // Vincenzo Librandi, Oct 17 2014
(MAGMAMagma) [Fibonacci(n) mod 1000: n in [0..80]]; // Vincenzo Librandi, Oct 17 2014
editing
approved
a(n) = Fibonacci(n) mod 1000.
approved
editing
editing
approved
Alois P. Heinz, <a href="/A248740/b248740.txt">Table of n, a(n) for n = 0..3000</a>
a:= proc(n) option remember;
`if`(n<2, n, irem(a(n-1)+a(n-2), 1000))
end:
seq(a(n), n=0..60); # Alois P. Heinz, Oct 18 2015
approved
editing
editing
approved
<a href="/index/Rec#order_1500">Index entries for linear recurrences with constant coefficients</a>, order 1500.
approved
editing
proposed
approved
editing
proposed
A number m of {0, 1, ..., 999} is not in the range of this sequence, iff m is congruent to 4 or 6 mod 8.
These numbers are the 250 = 1000 - A066853(1000) numbers of the set {4, 6, 12, 14,.. ..., 996, 998}. E.g. , a Fibonacci number will never end in the digits '100'.
proposed
editing