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!)
A191402 a(n) = A000201(n) + A000201(n+1). 4
1, 4, 7, 10, 14, 17, 20, 23, 26, 30, 33, 36, 40, 43, 46, 49, 52, 56, 59, 62, 65, 68, 72, 75, 78, 82, 85, 88, 91, 94, 98, 101, 104, 108, 111, 114, 117, 120, 124, 127, 130, 133, 136, 140, 143, 146, 150, 153, 156, 159, 162, 166, 169, 172, 175, 178, 182, 185, 188, 192, 195, 198, 201, 204, 208, 211, 214, 218, 221, 224 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = [nr] + [nr+r], where r=(1+sqrt(5))/2 and [ ]=floor.
MATHEMATICA
r = GoldenRatio; f[n_] := Floor[n*r];
Table[f[n]+f[n+1], {n, 0, 100}]
(* A191402(n)=A000201(n)+A000201(n+1) *)
Table[f[n] + f[n+2], {n, 0, 100}]
(* A191403(n)=A000201(n)+A000201(n+2) *)
Table[f[n] + f[n+3], {n, 0, 100}]
(* A191404(n)=A000201(n)+A000201(n+3) *)
PROG
(Python)
from math import isqrt
def A191402(n): return (n+isqrt(m:=5*n**2)>>1)+(n+1+isqrt(m+10*n+5)>>1) # Chai Wah Wu, Aug 10 2022
CROSSREFS
Sequence in context: A310687 A310688 A062389 * A080600 A198266 A067497
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 01 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 23 11:27 EDT 2024. Contains 371913 sequences. (Running on oeis4.)