The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS 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
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
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 10 08:08 EDT 2024. Contains 373256 sequences. (Running on oeis4.)