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.

A074075 Values of m corresponding to the minimization problem of A074074.

Original entry on oeis.org

1, 1, 2, 4, 2, 4, 3, 8, 8, 3, 7, 11, 8, 14, 6, 15, 15, 11, 19, 8, 13, 5, 14, 5, 25, 26, 20, 27, 26, 22, 19, 31, 26, 33, 35, 22, 29, 23, 7, 31, 25, 32, 37, 17, 43, 28, 47, 29, 49, 23, 31, 45, 32, 21, 49, 41, 47, 35, 43, 50, 37, 53, 38, 59, 62, 64, 26, 62, 58, 67, 43, 70, 44, 73, 74, 73, 20
Offset: 1

Views

Author

Lekraj Beedassy, Aug 28 2002

Keywords

Crossrefs

Cf. A074074.

Programs

  • Mathematica
    A074074[n_] := Module[{dd, sols, x, y}, dd = Table[(2n+1)^2 - 4 m^2, {m, 1, n}]; sols = Table[{d, x /. Solve[x > 0 && y > 0 && x^2 - d y^2 == 1, {x, y}, Integers]}, {d, dd}] /. C[1] -> 1 // Select[#, #[[2]] != {}&]&; MinimalBy[sols, #[[2, 1]]&][[1, 1]]];
    a[n_] := a[n] = Sqrt[(2n+1)^2 - A074074[n]]/2;
    Table[Print[n, " ", a[n]]; a[n], {n, 1, 100}] (* Jean-François Alcover, Mar 27 2024 *)

Formula

a(n) = sqrt( (2n+1)^2-A074074(n))/2 .

Extensions

Sequence extended beyond a(7) by R. J. Mathar, Sep 21 2009