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

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A078796 a(n) = 2*ceiling(n*tau) - ceiling(n*sqrt(5)) where tau=(1+sqrt(5))/2 is the Golden ratio. 0
 1, 3, 3, 5, 6, 6, 8, 8, 9, 11, 11, 13, 14, 14, 16, 16, 17, 19, 19, 21, 21, 22, 24, 24, 26, 27, 27, 29, 29, 30, 32, 32, 34, 35, 35, 37, 37, 39, 40, 40, 42, 42, 43, 45, 45, 47, 48, 48, 50, 50, 51, 53, 53, 55, 55, 56, 58, 58, 60, 61, 61, 63, 63, 64, 66, 66, 68, 69, 69, 71, 71, 73 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS FORMULA a(A005652(n)) = A005652(n); a(A001950(n)) = A001950(n) + 1. MATHEMATICA Table[2*Ceiling[n*GoldenRatio]-Ceiling[n*Sqrt[5]], {n, 80}] (* Harvey P. Dale, Dec 20 2015 *) PROG (PARI) a(n)=2*ceil(n*(1+sqrt(5))/2)-ceil(n*sqrt(5)) CROSSREFS Cf. A001950, A005652, A078588. Sequence in context: A134636 A088564 A161560 * A201929 A079789 A131209 Adjacent sequences:  A078793 A078794 A078795 * A078797 A078798 A078799 KEYWORD nonn AUTHOR Benoit Cloitre, Dec 05 2002 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.

Last modified December 2 01:47 EST 2021. Contains 349435 sequences. (Running on oeis4.)