OFFSET
0,2
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = Sum_{j=0..n} binomial(n,j)*phi(j+1). - Emeric Deutsch, Jul 09 2007
EXAMPLE
a(3) = (1,3,3,1) dot (1,1,2,2) = 1 + 3 + 6 + 2 = 12.
MAPLE
with(numtheory); a := proc (n) options operator, arrow; sum(binomial(n, j)*phi(j+1), j = 0 .. n) end proc; seq(a(n), n = 0 .. 30); # Emeric Deutsch, Jul 09 2007
MATHEMATICA
Table[Sum[Binomial[n, k]*EulerPhi[k+1], {k, 0, n}], {n, 0, 30}] (* Vaclav Kotesovec, Oct 30 2017 *)
PROG
(PARI) a(n) = sum(j=0, n, binomial(n, j)*eulerphi(j+1)); \\ Michel Marcus, Feb 26 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jun 11 2007
EXTENSIONS
More terms from Emeric Deutsch, Jul 09 2007
STATUS
approved