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!)
A184749 a(n) = floor(n*s+h-h*s), where s = (7 + sqrt(5))/4, h = -1/2; complement of A184748. 2
2, 5, 7, 9, 12, 14, 16, 19, 21, 23, 26, 28, 30, 32, 35, 37, 39, 42, 44, 46, 49, 51, 53, 56, 58, 60, 62, 65, 67, 69, 72, 74, 76, 79, 81, 83, 86, 88, 90, 93, 95, 97, 99, 102, 104, 106, 109, 111, 113, 116, 118, 120, 123, 125, 127, 129, 132, 134, 136, 139, 141, 143, 146, 148, 150, 153, 155, 157, 159, 162, 164, 166 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
r=4-5^(1/2); h=-1/2; s=r/(r-1);
Table[Floor[n*r+h], {n, 1, 120}] (* A184748 *)
Table[Floor[n*s+h-h*s], {n, 1, 120}] (* A184749 *)
PROG
(Python)
from math import floor, sqrt
s=(7+sqrt(5))/4
h=-1/2
n=50 #number of terms
result = []
for i in range(1, n+1):
ans = floor(i*s+h-h*s)
result.append(ans)
print(result)
# Adam Hugill, Feb 22 2022
CROSSREFS
Cf. A184748.
Sequence in context: A246706 A304498 A184743 * A047386 A187416 A243808
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 20 2011
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)