Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096462
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096462 Sum of index values of the prime factors (with multiplicity) of n. +0
1
1, 1, 5, 1, 6, 1, 18, 7, 10, 1, 24, 1, 13, 9, 54, 1, 31, 1, 39, 12, 21, 1, 73, 11, 25, 36, 53, 1, 47, 1, 145, 18, 34, 13, 100, 1, 37, 21, 120, 1, 64, 1, 85, 51, 44, 1, 200, 15, 70, 26, 101, 1, 125, 18, 165, 30, 56, 1, 153, 1, 59, 69, 363, 20, 101, 1, 135, 35, 94, 1, 274, 1, 73, 70 (list; graph; listen)
OFFSET

2,3

COMMENT

Let P be equal to the set of prime factors of the positive integers, counted with multiplicity. Order the members of this set into subsets such that each prime has its own set with an index value assigned to each instance of the prime. Therefore P = {{2_1, 2_2,..2_i}, {3_1, 3_2,..3_j}, . . {p_1, p_2,..p_x}}. In generating the sequence, each indexed instance of a prime can only be used once.

FORMULA

a(p)=1 where p is a prime.

EXAMPLE

2 = 2_1, thus a(2)=1

3 = 3_1, thus a(3)=1

4 = 2_2 * 2_3, thus a(4)=5

5 = 5_1, thus a(5)=1

6 = 2_4 * 3_2, thus a(6)=6

7 = 7_1, thus a(7)=1

8 = 2_5 * 2_6 * 2_7, thus a(8)=5+6+7=18, etc.

MATHEMATICA

PrimeFactors[n_Integer] := Flatten[ Table[ # [[1]], {1}] & /@ FactorInteger[n]]; f[n_, p_] := Block[{t = 0, q = p}, While[s = Floor[n/q]; t = t + s; s > 0, q *= p]; t]; g[n_] := Block[{s = 0, pf = PrimeFactors[n], k = 1}, l = Length[pf]; While[k <= l, s = s + Sum[i, {i, f[n - 1, pf[[k]]] + 1, f[n, pf[[k]]]}]; k++ ]; s]; Table[g[n], {n, 2, 75}]

CROSSREFS

Cf..

Sequence in context: A105060 A066805 A028284 this_sequence A066948 A064265 A088401

Adjacent sequences: A096459 A096460 A096461 this_sequence A096463 A096464 A096465

KEYWORD

nonn

AUTHOR

Andrew Plewe (aplewe(AT)sbcglobal.net), Aug 10 2004

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 10 2004

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