login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

First differences in A214861. - Philippe Deléham, Mar 09 2013

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..10000

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

Cf. A214861

Sequence in context: A122077 A029924 A125883 * A287723 A284589 A020904

Adjacent sequences:  A022845 A022846 A022847 * A022849 A022850 A022851

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 03:15 EDT 2021. Contains 347623 sequences. (Running on oeis4.)