|
|
A037170
|
|
Numbers n such that n = pi(n) + phi(n), where pi = A000720, phi = A000010.
|
|
4
|
|
|
1, 2, 4, 8, 27, 35, 215, 235, 2611, 65113, 174647, 1301317, 1302509, 5021647, 10885081, 36319939, 70112131, 70113559, 325575773, 514258883, 742327529, 1069238453, 18721771909, 27788563039, 113350570453, 835005036247
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
27 is in the sequence: pi(27) + phi(27) = 9 + 18 = 27.
35 is in the sequence: pi(35) + phi(35) = 11 + 24 = 35.
(End)
|
|
MAPLE
|
with(numtheory): select(n->pi(n)+phi(n)=n, [seq(n, n=1..100000)]); # K. D. Bajpai, Jun 13 2017
|
|
MATHEMATICA
|
Select[Range[10^5], # == PrimePi[#] + EulerPhi[#] &] (* Giovanni Resta, Mar 28 2017 *)
|
|
PROG
|
(Magma) [n:n in[1..10000]|n eq k where k is EulerPhi(n)+#PrimesUpTo(n)]; // K. D. Bajpai, Jun 13 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|