A080755 a(n) = ceiling(n*(1+1/sqrt(2))).
2, 4, 6, 7, 9, 11, 12, 14, 16, 18, 19, 21, 23, 24, 26, 28, 30, 31, 33, 35, 36, 38, 40, 41, 43, 45, 47, 48, 50, 52, 53, 55, 57, 59, 60, 62, 64, 65, 67, 69, 70, 72, 74, 76, 77, 79, 81, 82, 84, 86, 88, 89, 91, 93, 94, 96, 98, 100, 101, 103, 105, 106, 108, 110, 111, 113, 115, 117
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[Ceiling(n*(1+1/Sqrt(2))): n in [1..100]]; // G. C. Greubel, Aug 16 2018
-
Mathematica
With[{c=1+1/Sqrt[2]},Ceiling[c #]&/@Range[80]] (* Harvey P. Dale, Apr 26 2011 *)
-
PARI
vector(100, n, ceil(n*(1+1/sqrt(2)))) \\ G. C. Greubel, Aug 16 2018
Extensions
Edited by N. J. A. Sloane at the suggestion of Andrew S. Plewe, Jun 08 2007
Comments