The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A349494 a(n) is the maximum of A000120(k)*A000120(n/k) for divisors k of n. 3
1, 1, 2, 1, 2, 2, 3, 1, 4, 2, 3, 2, 3, 3, 4, 1, 2, 4, 3, 2, 6, 3, 4, 2, 4, 3, 4, 3, 4, 4, 5, 1, 6, 2, 6, 4, 3, 3, 6, 2, 3, 6, 4, 3, 8, 4, 5, 2, 9, 4, 4, 3, 4, 4, 6, 3, 6, 4, 5, 4, 5, 5, 6, 1, 6, 6, 3, 2, 8, 6, 4, 4, 3, 3, 8, 3, 9, 6, 5, 2, 8, 3, 4, 6, 4, 4, 8, 3, 4, 8, 9, 4, 10, 5, 6, 2, 3, 9, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
First differs from A072084 at n = 27.
LINKS
FORMULA
a(n) = a(2*n).
EXAMPLE
a(45) = 8 because 45 = 3 * 15 with A072084(3) * A072084(15) = 2 * 4 = 8, and the other factorizations 1 * 45 and 5 * 9 have A072084(k) * A072084(45/k) = 4.
MAPLE
g:= proc(n) convert(convert(n, base, 2), `+`) end proc:
f:= proc(n) local t, r;
max(seq(g(t)*g(n/t), t = numtheory:-divisors(n)))
end proc:
map(f, [$1..100]);
MATHEMATICA
a[n_] := Max[(d = DigitCount[Divisors[n], 2, 1]) * Reverse[d]]; Array[a, 100] (* Amiram Eldar, Sep 03 2023 *)
CROSSREFS
Sequence in context: A071287 A355731 A353394 * A072084 A359587 A336471
KEYWORD
nonn,base
AUTHOR
Robert Israel, Sep 03 2023
STATUS
approved

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 May 13 13:35 EDT 2024. Contains 372519 sequences. (Running on oeis4.)