cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A349494 a(n) is the maximum of A000120(k)*A000120(n/k) for divisors k of n.

This page as a plain text file.
%I A349494 #108 Sep 04 2023 02:50:21
%S A349494 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,
%T A349494 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,
%U A349494 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
%N A349494 a(n) is the maximum of A000120(k)*A000120(n/k) for divisors k of n.
%C A349494 First differs from A072084 at n = 27.
%H A349494 Robert Israel, <a href="/A349494/b349494.txt">Table of n, a(n) for n = 1..10000</a>
%F A349494 a(n) = a(2*n).
%e A349494 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.
%p A349494 g:= proc(n) convert(convert(n,base,2),`+`) end proc:
%p A349494 f:= proc(n) local t,r;
%p A349494       max(seq(g(t)*g(n/t), t = numtheory:-divisors(n)))
%p A349494     end proc:
%p A349494 map(f, [$1..100]);
%t A349494 a[n_] := Max[(d = DigitCount[Divisors[n], 2, 1]) * Reverse[d]]; Array[a, 100] (* _Amiram Eldar_, Sep 03 2023 *)
%Y A349494 Cf. A000120, A072084.
%K A349494 nonn,base
%O A349494 1,3
%A A349494 _Robert Israel_, Sep 03 2023