Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A005091
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A005091 Number of primes = 3 mod 4 dividing n. +0
4
0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 2, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 2, 0, 1, 1, 0, 1, 1, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 2, 0, 1, 1, 0, 1, 2, 0, 0, 2, 1, 0, 2, 1, 1, 1, 0, 0, 1, 1, 2, 1, 1, 0, 1 (list; graph; listen)
OFFSET

1,21

FORMULA

Additive with a(p^e) = 1 if p = 3 (mod 4), 0 otherwise.

PROGRAM

(PARI) for(n=1, 100, print1(sumdiv(n, d, isprime(d)*if((d-3)%4, 0, 1)), ", "))

CROSSREFS

Cf. A001221, A005089.

Sequence in context: A077267 A134022 A085975 this_sequence A086831 A111405 A089053

Adjacent sequences: A005088 A005089 A005090 this_sequence A005092 A005093 A005094

KEYWORD

nonn

AUTHOR

njas

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research