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.

A385147 a(n) = Sum_{i=1..n} 2^phi(i), where phi=A000010.

This page as a plain text file.
%I A385147 #15 Jul 02 2025 21:15:01
%S A385147 2,4,8,12,28,32,96,112,176,192,1216,1232,5328,5392,5648,5904,71440,
%T A385147 71504,333648,333904,338000,339024,4533328,4533584,5582160,5586256,
%U A385147 5848400,5852496,274287952,274288208,1348030032,1348095568,1349144144,1349209680,1365986896,1365990992
%N A385147 a(n) = Sum_{i=1..n} 2^phi(i), where phi=A000010.
%t A385147 Accumulate[Table[2^EulerPhi[n], {n, 1, 36}]] (* _Amiram Eldar_, Jun 28 2025 *)
%o A385147 (Python)
%o A385147 from sympy import totient
%o A385147 a = 0
%o A385147 terms = []
%o A385147 for i in range(1, 36):
%o A385147     a += 2 ** totient(i)
%o A385147     terms.append(str(a))
%o A385147 print(", ".join(terms))
%o A385147 (PARI) a(n) = sum(i=1, n, 2^eulerphi(i)); \\ _Michel Marcus_, Jun 27 2025
%Y A385147 Cf. A000010.
%Y A385147 Partial sums of A066781.
%K A385147 nonn,easy
%O A385147 1,1
%A A385147 _Hunter Yeoman_, Jun 19 2025