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.

A004938 a(n) = round(n*phi^3), where phi is the golden ratio, A001622.

This page as a plain text file.
%I A004938 #23 Oct 18 2023 10:03:03
%S A004938 0,4,8,13,17,21,25,30,34,38,42,47,51,55,59,64,68,72,76,80,85,89,93,97,
%T A004938 102,106,110,114,119,123,127,131,136,140,144,148,152,157,161,165,169,
%U A004938 174,178,182,186,191,195,199
%N A004938 a(n) =  round(n*phi^3), where phi is the golden ratio, A001622.
%C A004938 Nearest integer to n*phi^3.
%H A004938 G. C. Greubel, <a href="/A004938/b004938.txt">Table of n, a(n) for n = 0..10000</a>
%t A004938 Round[GoldenRatio^3*Range[0, 80]] (* _G. C. Greubel_, Oct 17 2023 *)
%o A004938 (PARI) a(n) = round(n*(((sqrt(5)+1))/2)^3); \\ _Michel Marcus_, Aug 28 2016
%o A004938 (Magma) [Round((2+Sqrt(5))*n): n in [0..80]]; // _G. C. Greubel_, Oct 17 2023
%o A004938 (SageMath) [round(golden_ratio^3*n) for n in range(81)] # _G. C. Greubel_, Oct 17 2023
%Y A004938 Cf. A004937, A004939 - A004955.
%Y A004938 Cf. A001622.
%K A004938 nonn
%O A004938 0,2
%A A004938 _N. J. A. Sloane_