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.

A110833 a(n) = (prime(n)+1)^2.

Original entry on oeis.org

9, 16, 36, 64, 144, 196, 324, 400, 576, 900, 1024, 1444, 1764, 1936, 2304, 2916, 3600, 3844, 4624, 5184, 5476, 6400, 7056, 8100, 9604, 10404, 10816, 11664, 12100, 12996, 16384, 17424, 19044, 19600, 22500, 23104, 24964, 26896, 28224, 30276, 32400, 33124, 36864
Offset: 1

Views

Author

Giovanni Teofilatto, Sep 18 2005

Keywords

Crossrefs

Programs

  • Magma
    [(p+1)^2: p in PrimesUpTo(200)]; // Vincenzo Librandi, Mar 27 2014
    
  • Mathematica
    Table[(Prime[n] + 1)^2, {n, 200}] (* Vincenzo Librandi, Mar 27 2014 *)
  • Python
    from sympy import primerange
    print([(p+1)**2 for p in primerange(1, 192)]) # Michael S. Branicky, Sep 16 2021

Formula

From Amiram Eldar, Jan 23 2021: (Start)
a(n) = A008864(n)^2.
Product_{n>=1} (1 + 1/a(n)) = A065486.
Product_{n>=1} (1 - 1/a(n)) = A065472. (End)
Sum 1/a(n) = A382554. - R. J. Mathar, Mar 31 2025

Extensions

Corrected and extended by Ray Chandler, Oct 08 2005