Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072203
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072203 (Number of oddly factored numbers <= n) - (number of evenly factored numbers <= n). +0
3
0, 1, 2, 1, 2, 1, 2, 3, 2, 1, 2, 3, 4, 3, 2, 1, 2, 3, 4, 5, 4, 3, 4, 3, 2, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 4, 3, 2, 1, 2, 3, 4, 5, 6, 5, 6, 7, 6, 7, 6, 7, 8, 7, 6, 5, 4, 3, 4, 3, 4, 3, 4, 3, 2, 3, 4, 5, 4, 5, 6, 7, 8, 7, 8, 9, 8, 9, 10, 11, 10, 9, 10, 9, 8, 7, 6, 5, 6, 5, 4, 5, 4, 3, 2, 1, 2, 3, 4, 3, 4, 5, 6 (list; graph; listen)
OFFSET

1,3

COMMENT

A number m is oddly or evenly factored depending on whether m has an odd or even number of prime factors, e.g. 12 = 2.2.3 has 3 factors so is oddly factored.

Polya conjectured that a(n) >= 0 for all n, but this was disproved by Haselgrove. The smallest counterexample known is a(906180359) = -1 (Lehman).

Note that the keyword is "nonn", even though eventually (beyond the range shown) the terms become negative.

REFERENCES

C. B. Haselgrove, A disproof of a conjecture of Polya. Mathematika 5 1958 141-145.

R. S. Lehman, On Liouville's function. Math. Comp. 14 1960 311-320.

G. Polya, Mathematics and Plausible Reasoning, S.8.16.

LINKS

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

FORMULA

a(n) = 1 - A002819(n) - T. D. Noe, Feb 06 2007

MATHEMATICA

f[n_Integer] := Length[Flatten[Table[ #[[1]], {#[[2]]}] & /@ FactorInteger[n]]]; g[n_] := g[n] = g[n - 1] + If[ EvenQ[ f[n]], -1, 1]; g[1] = 0; Table[g[n], {n, 1, 103}]

CROSSREFS

Cf. A028488, A002819, A051470.

Sequence in context: A087039 A102096 A137866 this_sequence A124044 A059981 A033676

Adjacent sequences: A072200 A072201 A072202 this_sequence A072204 A072205 A072206

KEYWORD

nonn,nice,easy

AUTHOR

Bill Dubuque (wgd(AT)zurich.ai.mit.edu), Jul 03 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 13 2002

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research