The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A322867 a(n) = A000120(A122111(n)). 6
 1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 3, 1, 4, 1, 2, 2, 2, 1, 3, 4, 2, 3, 2, 1, 4, 1, 3, 2, 2, 4, 3, 1, 2, 2, 3, 1, 4, 1, 2, 3, 2, 1, 3, 3, 4, 2, 2, 1, 3, 4, 3, 2, 2, 1, 3, 1, 2, 3, 3, 4, 4, 1, 2, 2, 4, 1, 2, 1, 2, 4, 2, 3, 4, 1, 3, 3, 2, 1, 3, 4, 2, 2, 3, 1, 3, 3, 2, 2, 2, 4, 3, 1, 4, 3, 6, 1, 4, 1, 3, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 LINKS Antti Karttunen, Table of n, a(n) for n = 1..20000 Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537 FORMULA a(n) = A000120(A122111(n)) = A000120(A322865(n)) = A001222(A322863(n)). MATHEMATICA Array[DigitCount[#, 2, 1] &@ If[# < 3, 1, Block[{k = #, m = 0}, Times @@ Power @@@ Table[k -= m; k = DeleteCases[k, 0]; {Prime@Length@k, m = Min@ k}, Length@ Union@ k]] &@ Catenate[ConstantArray[PrimePi[#1], #2] & @@@ FactorInteger@ #]] &, 105] (* Michael De Vlieger, Dec 31 2018, after JungHwan Min at A122111 *) PROG (PARI) A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)}; A122111(n) = if(1==n, n, prime(bigomega(n))*A122111(A064989(n))); A322867(n) = hammingweight(A122111(n)); CROSSREFS Cf. A000120, A001222, A122111, A322863, A322865, A322866. Sequence in context: A322794 A163377 A290085 * A163109 A286574 A329320 Adjacent sequences:  A322864 A322865 A322866 * A322868 A322869 A322870 KEYWORD nonn AUTHOR Antti Karttunen, Dec 30 2018 STATUS approved

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

Last modified August 8 02:45 EDT 2020. Contains 336290 sequences. (Running on oeis4.)