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.

A195167 a(n) = 3*n - floor(n*r/2), where r=(1+sqrt(5))/2 (the golden ratio).

This page as a plain text file.
%I A195167 #13 Sep 08 2022 08:45:59
%S A195167 0,3,5,7,9,11,14,16,18,20,22,25,27,29,31,33,36,38,40,42,44,47,49,51,
%T A195167 53,55,57,60,62,64,66,68,71,73,75,77,79,82,84,86,88,90,93,95,97,99,
%U A195167 101,103,106,108,110,112,114,117,119,121,123,125,128,130,132,134,136
%N A195167 a(n) = 3*n - floor(n*r/2), where r=(1+sqrt(5))/2 (the golden ratio).
%H A195167 Vincenzo Librandi, <a href="/A195167/b195167.txt">Table of n, a(n) for n = 0..10000</a>
%t A195167 With[{c = GoldenRatio},Table[3*n - Floor[c*n/2],{n,0,50}]] (* _G. C. Greubel_, Oct 31 2017 *)
%o A195167 (Magma) [3*n-Floor(n*(1+Sqrt(5))/4): n in [0..70]]; // _Vincenzo Librandi_, Sep 11 2011
%o A195167 (PARI) for(n=0,50, print1(3*n - floor(n*(1+sqrt(5))/4), ", ")) \\ _G. C. Greubel_, Oct 31 2017
%K A195167 nonn
%O A195167 0,2
%A A195167 _Clark Kimberling_, Sep 10 2011