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.

A040341 Continued fraction for sqrt(360).

Original entry on oeis.org

18, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36
Offset: 0

Views

Author

Keywords

Programs

  • Maple
    with(numtheory): Digits := 300: convert(evalf(sqrt(360)),confrac);
  • Mathematica
    ContinuedFraction[Sqrt[360],120] (* or *) PadRight[{18},120,{36,1}] (* Harvey P. Dale, Jul 04 2021 *)

Formula

a(n) = a(n-2), for n >= 3. - Wesley Ivan Hurt, Apr 16 2023
From Amiram Eldar, Dec 20 2023: (Start)
Multiplicative with a(2^e) = 36, and a(p^e) = 1 for an odd prime p.
Dirichlet g.f.: zeta(s) * (1 + 35/2^s). (End)