OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
EXAMPLE
a(n) == n (mod 4) for n=0..9; a(n)=n for n=10..13; a(14)=10, a(15)=11,
a(41)=a(81)=1, etc.
MATHEMATICA
Table[FromDigits[Mod[IntegerDigits[n], 4]], {n, 0, 80}] (* Harvey P. Dale, Aug 25 2014 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Nov 20 2007
STATUS
approved