login
A021078
Decimal expansion of 1/74.
1
0, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5, 1, 3, 5
OFFSET
0,3
FORMULA
a(n) = (2n-1) mod 6, for n > 0. - Wesley Ivan Hurt, Apr 23 2014
MAPLE
a:= n-> `if`(n=0, 0, irem(2*n-1, 6)): seq(a(n), n=0..99); # Zerinvary Lajos, Nov 30 2006
MATHEMATICA
Table[Mod[2 n - 1, 6] - 5 Floor[1/(n+1)], {n, 0, 100}] (* Wesley Ivan Hurt, Apr 23 2014 *)
CROSSREFS
Sequence in context: A137759 A049246 A231186 * A130793 A243854 A084243
KEYWORD
nonn,easy,cons
AUTHOR
N. J. A. Sloane, Dec 11 1996
STATUS
approved