login
A022848
Integer nearest nx, where x = sqrt(5).
3
0, 2, 4, 7, 9, 11, 13, 16, 18, 20, 22, 25, 27, 29, 31, 34, 36, 38, 40, 42, 45, 47, 49, 51, 54, 56, 58, 60, 63, 65, 67, 69, 72, 74, 76, 78, 80, 83, 85, 87, 89, 92, 94, 96, 98, 101, 103, 105, 107, 110, 112, 114, 116, 119, 121, 123, 125, 127, 130, 132, 134, 136
OFFSET
0,2
COMMENTS
First differences in A214861. - Philippe Deléham, Mar 09 2013
LINKS
FORMULA
a(n+1) - a(n) = 2 or 3. - Philippe Deléham, Mar 09 2013
MATHEMATICA
Flatten[Nearest[Range[0, 150], #]&/@(Sqrt[5]Range[0, 67])] (* Harvey P. Dale, Feb 18 2011 *)
PROG
(Magma) [Round(n*Sqrt(5)): n in [0..60]]; // Vincenzo Librandi, Oct 22 2011
(PARI) vector(60, n, n--; round(n*sqrt(5))) \\ G. C. Greubel, Sep 29 2018
CROSSREFS
Sequence in context: A122077 A029924 A125883 * A287723 A284589 A020904
KEYWORD
nonn,easy
STATUS
approved