A184581 a(n) = floor((n + 1/4)*(2 + sqrt(2))).
4, 7, 11, 14, 17, 21, 24, 28, 31, 34, 38, 41, 45, 48, 52, 55, 58, 62, 65, 69, 72, 75, 79, 82, 86, 89, 93, 96, 99, 103, 106, 110, 113, 116, 120, 123, 127, 130, 134, 137, 140, 144, 147, 151, 154, 157, 161, 164, 168, 171, 174, 178, 181, 185, 188, 192, 195, 198
Offset: 1
Keywords
Links
- Clark Kimberling, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A184580.
Programs
-
Magma
[Floor((n+1/4)*(2+Sqrt(2))): n in [1..60]]; // Vincenzo Librandi, Jun 10 2015
-
Mathematica
r=2^(1/2); c=1/4; s=r/(r-1); Table[Floor[n*r-c*r],{n,1,120}] (* A184580 *) Table[Floor[n*s+c*s],{n,1,120}] (* this sequence *)
-
PARI
for(n=1,30, print1(floor((n+1/4)*(2+sqrt(2))), ", ")) \\ G. C. Greubel, Jan 27 2018
Comments