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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A005094 Number of prime divisors = 1 mod 4 of n minus number of prime divisors = 3 mod 4 of n. 1
0, 0, -1, 0, 1, -1, -1, 0, -1, 1, -1, -1, 1, -1, 0, 0, 1, -1, -1, 1, -2, -1, -1, -1, 1, 1, -1, -1, 1, 0, -1, 0, -2, 1, 0, -1, 1, -1, 0, 1, 1, -2, -1, -1, 0, -1, -1, -1, -1, 1, 0, 1, 1, -1, 0, -1, -2, 1, -1, 0, 1, -1, -2, 0, 2, -2, -1, 1, -2, 0, -1, -1, 1, 1, 0, -1, -2, 0, -1, 1, -1 (list; graph; refs; listen; history; internal format)
OFFSET

1,21

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

FORMULA

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

CROSSREFS

Sequence in context: A176048 A037912 A056980 * A121372 A123706 A194325

Adjacent sequences:  A005091 A005092 A005093 * A005095 A005096 A005097

KEYWORD

sign

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:19 EST 2012. Contains 206038 sequences.