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.

A264724 a(n) = n^2 + phi(n).

Original entry on oeis.org

2, 5, 11, 18, 29, 38, 55, 68, 87, 104, 131, 148, 181, 202, 233, 264, 305, 330, 379, 408, 453, 494, 551, 584, 645, 688, 747, 796, 869, 908, 991, 1040, 1109, 1172, 1249, 1308, 1405, 1462, 1545, 1616, 1721, 1776, 1891, 1956, 2049, 2138, 2255, 2320, 2443, 2520
Offset: 1

Views

Author

Vincenzo Librandi, Nov 24 2015

Keywords

Examples

			a(5) = 29, because phi(5) = 4 and 5^2 + 4 = 29.
		

Crossrefs

Programs

  • Magma
    [n^2+EulerPhi(n): n in [1..50]];
    
  • Mathematica
    Table[n^2 + EulerPhi[n], {n, 50}]
  • PARI
    a(n) = n^2 + eulerphi(n); \\ Altug Alkan, Nov 24 2015

Formula

a(n) = A000290(n) + A000010(n).