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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A325759 Number of distinct frequencies in the frequency span of n. 3

%I #6 May 19 2019 20:33:12

%S 0,1,1,2,1,2,1,2,1,3,1,2,1,3,3,2,1,2,1,3,3,3,1,3,2,3,2,3,1,3,1,2,3,3,

%T 4,2,1,3,3,3,1,4,1,3,3,3,1,3,2,3,3,3,1,3,4,4,3,3,1,3,1,3,3,2,4,4,1,3,

%U 3,3,1,3,1,3,3,3,4,4,1,4,2,3,1,3,4,3,3

%N Number of distinct frequencies in the frequency span of n.

%C We define the frequency span of an integer partition to be the partition itself if it has no or only one block, and otherwise it is the multiset union of the partition and the frequency span of its multiplicities. For example, the frequency span of (3,2,2,1) is {1,2,2,3} U {1,1,2} U {1,2} U {1,1} U {2} = {1,1,1,1,1,1,2,2,2,2,2,3}. The frequency span of a positive integer n is the frequency span of its prime indices (row n of A296150).

%t primeMS[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]];

%t freqspan[ptn_]:=If[Length[ptn]<=1,ptn,Sort[Join[ptn,freqspan[Sort[Length/@Split[ptn]]]]]];

%t Table[Length[Union[freqspan[primeMS[n]]]],{n,100}]

%Y Row lengths of A325758.

%Y Number of distinct entries in row n of A325757.

%Y Cf. A001221, A001222, A056239, A071625, A112798, A181819, A182857, A323014, A325249, A325277, A325760.

%K nonn

%O 1,4

%A _Gus Wiseman_, May 19 2019

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:55 EDT 2024. Contains 371958 sequences. (Running on oeis4.)