login
The OEIS is supported bythe many generous donors to the OEIS Foundation.


Hints
(Greetings fromThe On-Line Encyclopedia of Integer Sequences!)
A353861 Number of distinct weak run-sums of the prime indices of n. 26
1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 3, 2, 3, 3, 5, 2, 4, 2, 4, 3, 3, 2, 4, 3, 3, 4, 4, 2, 4, 2, 6, 3, 3, 3, 4, 2, 3, 3, 4, 2, 4, 2, 4, 4, 3, 2, 5, 3, 4, 3, 4, 2, 5, 3, 5, 3, 3, 2, 4, 2, 3, 3, 7, 3, 4, 2, 4, 3, 4, 2, 5, 2, 3, 4, 4, 3, 4, 2, 5, 5, 3, 2, 4, 3, 3, 3
(list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n ofA112798.
A weak run-sum of a sequence is the sum of any consecutive constant subsequence.
LINKS
EXAMPLE
The prime indices of 72 are {1,1,1,2,2}, with weak runs {}, {1}, {1,1}, {1,1,1}, {2}, {2,2}, which have sums 0, 1, 2, 3, 2, 4, of which 5 are distinct, so a(72) = 5.
MATHEMATICA
Table[Length[Union@@Cases[FactorInteger[n], {p_, k_}:>Range[0, k]*PrimePi[p]]], {n, 100}]
CROSSREFS
Positions of 2's areA000040.
Positions of first appearances areA000079.
The strong version isA353835,firstsA002110.
Partitions with distinct run-sums are ranked byA353838,counted byA353837.
The strong version for compositions isA353849.
The greatest run-sum is given byA353862,leastA353931.
A001222counts prime factors, distinctA001221.
A005811counts runs in binary expansion.
A056239adds up prime indices, row sums ofA112798andA296150.
A124010gives prime signature, sortedA118914.
A165413counts distinct run-lengths in binary expansion, sumsA353929.
A300273ranks collapsible partitions, counted byA275870.
A353832represents taking run-sums of a partition, compositionsA353847.
A353833ranks partitions with all equal run-sums, counted byA304442.
A353840-A353846pertain to partition run-sum trajectory.
A353852ranks compositions with all distinct run-sums, counted byA353850.
KEYWORD
nonn
AUTHOR
Gus Wiseman,May 23 2022
STATUS
approved

Lookup| Welcome| Wiki| Register| Music| Plot 2| Demos| Index| Browse| WebCam
Contribute new seq. or comment| Format| Style Sheet| Transforms| Superseeker| Recents
The OEIS Community| Maintained byThe OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 19 16:34 EDT 2024. Contains 376014 sequences. (Running on oeis4.)