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.

A336385 Number of k = x*y such that phi(k) = n*(phi(x) + phi(y)).

This page as a plain text file.
%I A336385 #7 May 10 2025 16:15:49
%S A336385 2,5,15,14,7,25,7,36,30,26,15,68,2,21,125,78,9,94,7,90,52,33,38,208,
%T A336385 15,11,74,69,3,227,2,166,66,33,129,276,2,25,101,228,7,115,8,76,329,47,
%U A336385 28,482,19,65,40,50,7,248,99,234,46,34,20,572,2,5,426,356,16
%N A336385 Number of k = x*y such that phi(k) = n*(phi(x) + phi(y)).
%C A336385 If phi(x*y) = n*(phi(x) + phi(y)) and phi(x) <= phi(y), then phi(x) <= 2*n and phi(y) <= n*phi(x).
%C A336385 a(n) >= 1 because (k, x, y) = (4*n^2, 2*n, 2*n) is a solution.
%C A336385 If gcd(n, 6) = 1, then a(n) >= 2 because (k, x, y) = (12*n^2, 3*n, 4*n) is also a solution. Note that a(n) = 2 when n = 1, 13, 31, 37, 61, 73, 97, 103, 149, 151, 157, 181, ...
%C A336385 Conjecture: a(n) > 2 if n is composite.
%H A336385 Zhang Sibao and Xi Xiaozhong, <a href="http://www.cqvip.com/QK/96482X/201601/668542873.html">Positive integer solutions on phi(ab) = k*(phi(a) + phi(b))</a>
%e A336385 a(2) = 5 because k = 16, 24, 36, 40 and 60 satisfy the equation.
%o A336385 (PARI) f(n) = floor(n*exp(Euler)*log(log(n^2))+2.5*n/log(log(n^2)));
%o A336385 a(n) = {if(n==1, return(2)); my(t, v=List([])); for(x=1, f(2*n), if((t=eulerphi(x)) <= 2*n, for(y=1, f(t=n*t), if(eulerphi(x*y) == t+n*eulerphi(y), listput(v, x*y))))); #Set(v); }
%Y A336385 Cf. A000010, A057635, A336384, A336710.
%K A336385 nonn
%O A336385 1,1
%A A336385 _Jinyuan Wang_, Aug 01 2020