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.

A113808 Positive integers n such that S(n) divides n, where S(n) is the sum of the iterates of the Euler phi-function of n, that is, S(n) = phi(n)+phi(phi(n))+....+ 1.

This page as a plain text file.
%I A113808 #19 Jan 28 2019 08:08:59
%S A113808 1,2,3,6,9,15,18,27,30,39,54,78,81,111,162,183,222,243,255,327,363,
%T A113808 366,471,486,510,654,726,729,942,1458,2187,2199,3063,4359,4374,4375,
%U A113808 4398,5571,6126,6561,8718,8750,8751,11142,13122,15723,17502,19683,31446,36759
%N A113808 Positive integers n such that S(n) divides n, where S(n) is the sum of the iterates of the Euler phi-function of n, that is, S(n) = phi(n)+phi(phi(n))+....+ 1.
%H A113808 Donovan Johnson, <a href="/A113808/b113808.txt">Table of n, a(n) for n = 1..100</a>
%H A113808 Igor E. Shparlinski, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL9/Shparlinski/shpar43.html">On the sum of iterations of the Euler function</a>, Journal of Integer Sequences, Vol. 9 (2006), Article 06.1.6.
%e A113808 18 is in the sequence because phi(18)+phi(phi(18))+phi(phi(phi(18))) = 6 + 2 + 1 = 9, which divides 18.
%t A113808 s[1]=1; s[n_] := Total@NestWhileList[EulerPhi, n, #>1 &] - n; Select[Range@ 1000, Mod[#, s@#] == 0 &] (* _Giovanni Resta_, May 25 2013 *)
%o A113808 (PARI) lista(nn) = {for (n=1, nn, s = 0; m = n; until (m == 1, m = eulerphi(m); s += m;); if ((n % s == 0), print1(n, ", ")););} \\ _Michel Marcus_, May 25 2013
%Y A113808 Cf. A092693, A082897.
%K A113808 nonn
%O A113808 1,2
%A A113808 _Jeffrey Shallit_, Jan 22 2006