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.

A379801 Nearest integer to n*(1+sqrt(6))/2.

Original entry on oeis.org

0, 2, 3, 5, 7, 9, 10, 12, 14, 16, 17, 19, 21, 22, 24, 26, 28, 29, 31, 33, 34, 36, 38, 40, 41, 43, 45, 47, 48, 50, 52, 53, 55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79, 81, 83, 85, 86, 88, 90, 91, 93, 95, 97, 98, 100, 102, 103, 105, 107, 109, 110, 112, 114, 116, 117, 119, 121, 122, 124, 126, 128, 129, 131, 133, 135
Offset: 0

Views

Author

N. J. A. Sloane, Jan 19 2025

Keywords

Comments

The floor of n*(1+sqrt(6))/2 is A379805. [Corrected by Jinyuan Wang, Jan 20 2025]

Crossrefs

Programs

  • Mathematica
    Round[Range[0, 100]*(1 + Sqrt[6])/2] (* Paolo Xausa, Jan 21 2025 *)
  • PARI
    a(n) = round(n*(1+quadgen(24))/2); \\ Michel Marcus, Jan 20 2025