OFFSET
1,1
COMMENTS
a(p) = p for p prime.
Records give A000040. - Omar E. Pol, Jul 10 2014
Which n are divisible by phi(n)+1? See A085118 for a possible answer and references. - Peter Munn, Jun 03 2021
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
N. J. A. Sloane, Families of Essentially Identical Sequences, Mar 24 2021 (Includes this sequence)
FORMULA
a(n) = A000010(n) + 1.
a(n) <= n for n > 1.
G.f.: x/(1 - x) + Sum_{k>=1} mu(k)*x^k/(1 - x^k)^2. - Ilya Gutkovskiy, Mar 16 2017
MATHEMATICA
Table[EulerPhi[n] + 1, {n, 100}] (* Vincenzo Librandi, Aug 13 2013 *)
PROG
(Magma) [EulerPhi(n)+1: n in [1..100]]; // Vincenzo Librandi, Aug 13 2013
(Haskell)
a039649 = (+ 1) . a000010 -- Reinhard Zumkeller, Oct 07 2015
(PARI) a(n)=eulerphi(n)+1 \\ Charles R Greathouse IV, Mar 04 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by Charles R Greathouse IV, Mar 18 2010.
STATUS
approved