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.

This page as a plain text file.
%I A379801 #16 Jan 21 2025 18:23:46
%S A379801 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,
%T A379801 43,45,47,48,50,52,53,55,57,59,60,62,64,66,67,69,71,72,74,76,78,79,81,
%U A379801 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
%N A379801 Nearest integer to n*(1+sqrt(6))/2.
%C A379801 The floor of n*(1+sqrt(6))/2 is A379805. [Corrected by _Jinyuan Wang_, Jan 20 2025]
%H A379801 Paolo Xausa, <a href="/A379801/b379801.txt">Table of n, a(n) for n = 0..10000</a>
%t A379801 Round[Range[0, 100]*(1 + Sqrt[6])/2] (* _Paolo Xausa_, Jan 21 2025 *)
%o A379801 (PARI) a(n) = round(n*(1+quadgen(24))/2); \\ _Michel Marcus_, Jan 20 2025
%Y A379801 Cf. A000201, A379800, A379805.
%K A379801 nonn
%O A379801 0,2
%A A379801 _N. J. A. Sloane_, Jan 19 2025