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.

A089761 Smallest k such that k*i^2 + 1 is prime for i = 1 to n.

Original entry on oeis.org

1, 1, 4, 22, 58, 58, 58, 54972, 68112, 4748632, 861066640, 861066640, 861066640, 861066640, 861066640
Offset: 1

Views

Author

Amarnath Murthy, Nov 22 2003

Keywords

Comments

a(16) > 1.4*10^13. [Max Alekseyev]

Crossrefs

Cf. A124417.

Programs

  • Maple
    for n from 1 to 10 do for k from 1 do f:=0: for i from 1 to n do if not isprime(k*i^2+1) then f:=1: break fi od: if f=0 then printf("%d, ",k): break fi od od: # C. Ronaldo

Extensions

Corrected and extended by C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 26 2004
a(11)-a(15) from Donovan Johnson, Sep 27 2008