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!)
A081835 a(1)=1, a(n) = a(n-1) + 5 if n is already in the sequence, a(n) = a(n-1) + 4 otherwise. 2
1, 5, 9, 13, 18, 22, 26, 30, 35, 39, 43, 47, 52, 56, 60, 64, 68, 73, 77, 81, 85, 90, 94, 98, 102, 107, 111, 115, 119, 124, 128, 132, 136, 140, 145, 149, 153, 157, 162, 166, 170, 174, 179, 183, 187, 191, 196, 200, 204, 208, 212, 217, 221, 225, 229, 234, 238, 242 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = floor(rn-(4r-1)/(r+1)) where r=2+sqrt(5).
EXAMPLE
a(2) = a(1)+4 = 5 because 2 is not already in the sequence;
a(3) = a(2)+4 = 9 because 3 is not already in the sequence;
a(4) = a(3)+4 = 13 because 4 is not already in the sequence;
a(5) = a(4)+5 = 18 because 5 is already in the sequence.
MAPLE
r:=2+sqrt(5): seq(floor(r*n-(4*r-1)/(r+1)), n=1..60); # Muniru A Asiru, Jun 06 2018
MATHEMATICA
Module[{r=2+Sqrt[5], c}, c=(4r-1)/(r+1); Table[Floor[r*n-c], {n, 60}]] (* Harvey P. Dale, Feb 19 2013 *)
CROSSREFS
Cf. A064437.
Sequence in context: A314705 A364609 A314706 * A314707 A314708 A314709
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 11 2003
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 April 23 08:19 EDT 2024. Contains 371905 sequences. (Running on oeis4.)