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!)
A308427 a(n) is the number of central factorizations needed to reach the prime factorization of n. 4

%I #12 Jun 06 2019 15:29:15

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

%T 1,2,0,1,1,3,0,2,0,2,2,1,0,3,1,2,1,2,0,2,1,3,1,1,0,2,0,1,2,3,1,2,0,2,

%U 1,2,0,3,0,1,2,2,1,2,0,3,2,1,0,3,1,1

%N a(n) is the number of central factorizations needed to reach the prime factorization of n.

%C The central factorization of a positive integer m is m*(n/m), where m is the greatest divisor of n that is <= sqrt(n).

%H Clark Kimberling, <a href="/A308427/b308427.txt">Table of n, a(n) for n = 1..10000</a>

%e 32 = 4*8 = (2*2)*(2*4) = (2*2)*(2*(2*2)), so that a(32) = 3.

%t f[n_] := Last[Select[Divisors[n], # <= Sqrt[n] &]];

%t a[1] = 0; a[2] = 0; a[n_] := If[f[n] == 1, 0, 1 + Max[a[f[n]], a[n/f[n]]]];

%t Table[a[n], {n, 1, 60}]

%Y Cf. A000040.

%K nonn,easy

%O 1,8

%A _Clark Kimberling_, Jun 03 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 August 27 00:51 EDT 2024. Contains 375462 sequences. (Running on oeis4.)