login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A105827
a(n) = sigma(n) (mod 8).
7
1, 3, 4, 7, 6, 4, 0, 7, 5, 2, 4, 4, 6, 0, 0, 7, 2, 7, 4, 2, 0, 4, 0, 4, 7, 2, 0, 0, 6, 0, 0, 7, 0, 6, 0, 3, 6, 4, 0, 2, 2, 0, 4, 4, 6, 0, 0, 4, 1, 5, 0, 2, 6, 0, 0, 0, 0, 2, 4, 0, 6, 0, 0, 7, 4, 0, 4, 6, 0, 0, 0, 3, 2, 2, 4, 4, 0, 0, 0, 2, 1, 6, 4, 0, 4, 4, 0, 4, 2, 2, 0, 0, 0, 0, 0, 4, 2, 3, 4, 1, 6, 0, 0, 2, 0
OFFSET
1,2
MAPLE
A105827:= (n-> numtheory[sigma](n) mod 8):
seq (A105827(n), n=1..105); # Jani Melik, Jan 26 2011
PROG
(PARI) a(n)=sigma(n)%8
CROSSREFS
Cf. A000203.
Sequences sigma(n) mod k: A053866 (k=2), A074941 (k=3), A105824 (k=4), A105825 (k=5), A084301 (k=6), A105826 (k=7), A105827 (k=8), A105852 (k=9), A105853 (k=10).
Sequence in context: A067342 A348987 A322656 * A230289 A367502 A023888
KEYWORD
easy,nonn
AUTHOR
Shyam Sunder Gupta, May 05 2005
STATUS
approved