Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A068796
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A068796 Maximum k such that k consecutive integers starting at n have distinct numbers of prime factors (counted with multiplicity). +0
3
2, 1, 2, 2, 2, 3, 3, 2, 1, 3, 2, 3, 2, 1, 4, 3, 2, 2, 3, 2, 1, 3, 3, 2, 1, 2, 1, 2, 2, 4, 3, 2, 1, 1, 3, 3, 2, 1, 4, 3, 2, 2, 2, 1, 4, 3, 4, 3, 2, 2, 4, 4, 3, 2, 2, 2, 1, 3, 2, 5, 4, 3, 3, 4, 3, 2, 3, 2, 4, 3, 2, 4, 3, 2, 1, 2, 5, 5, 4, 4, 3, 3, 3, 2, 1, 1, 3, 2, 4, 3, 2, 2, 1, 1, 4, 3, 2, 1, 3, 3, 2, 3, 4 (list; graph; listen)
OFFSET

1,1

COMMENT

The number of prime factors (counted with multiplicity) of n is bigomega(n) = A001222(n).

EXAMPLE

a(6)=3 because 6, 7, 8 and 9 have, respectively, 2, 1, 3 and 2 prime factors; the first 3 of these are distinct.

MATHEMATICA

bigomega[n_] := Plus@@Last/@FactorInteger[n]; a[n_] := For[k=1; s={bigomega[n]}, True, k++, If[MemberQ[s, z=bigomega[n+k]], Return[k], AppendTo[s, z]]]

CROSSREFS

Cf. A001222, A067665, A068797.

Sequence in context: A029232 A025807 A120254 this_sequence A154804 A053276 A064065

Adjacent sequences: A068793 A068794 A068795 this_sequence A068797 A068798 A068799

KEYWORD

nonn

AUTHOR

Dean Hickerson (dean.hickerson(AT)yahoo.com), Mar 05 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 November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research