login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059018 Write 10*n in base 4; a(n) = sum of digits mod 4. 0
0, 0, 2, 2, 0, 1, 2, 0, 2, 2, 0, 0, 2, 0, 1, 2, 0, 0, 2, 2, 1, 2, 3, 0, 2, 2, 2, 2, 0, 1, 2, 3, 2, 2, 0, 0, 2, 3, 0, 2, 0, 0, 2, 2, 0, 2, 3, 0, 2, 2, 0, 0, 0, 1, 2, 3, 1, 1, 0, 0, 2, 3, 0, 1, 0, 0, 2, 2, 0, 1, 2, 0, 2, 2, 0, 0, 2, 1, 2, 3, 1, 1, 3, 3, 2, 3, 0, 1, 3, 3, 2, 2, 0, 1, 2, 3, 2, 2, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..99.

EXAMPLE

50_10 = 302_4, so a(5) = 3+0+2 (mod 4) = 1.

CROSSREFS

Sequence in context: A079531 A182882 A134178 * A249371 A122190 A237291

Adjacent sequences:  A059015 A059016 A059017 * A059019 A059020 A059021

KEYWORD

base,easy,nonn

AUTHOR

Robert Lozyniak (11(AT)onna.com), Feb 12 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 16:46 EDT 2019. Contains 327242 sequences. (Running on oeis4.)