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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A189372 a(n) = n + [n*r/t] + [n*s/t]; r=1, s=sqrt(2), t=sqrt(5). 3
1, 3, 5, 7, 10, 11, 14, 16, 18, 20, 21, 24, 26, 28, 30, 33, 34, 37, 39, 40, 43, 44, 47, 49, 51, 53, 56, 57, 59, 61, 63, 66, 67, 70, 72, 74, 76, 78, 80, 82, 84, 86, 89, 90, 93, 95, 97, 99, 100, 103, 105, 107, 109, 112, 113, 116, 118, 119, 122, 123, 126, 128, 130, 132, 135, 136, 138, 141, 142, 145, 146, 149, 151, 153, 155, 157, 159, 161, 163, 165, 168, 169, 172, 174 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

(See A189370.)

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000

MAPLE

A189372:=n->n+floor(n/sqrt(5))+floor(n*sqrt(2)/sqrt(5)); seq(A189372(k), k=1..100); # Wesley Ivan Hurt, Nov 08 2013

MATHEMATICA

Table[n+Floor[n/Sqrt[5]]+Floor[(n*Sqrt[2])/Sqrt[5]], {n, 90}] (* Harvey P. Dale, Jul 03 2013 *)

PROG

(PARI) for(n=1, 100, print1(n + floor(n/sqrt(5)) + floor(n*sqrt(2) /sqrt(5)), ", ")) \\ G. C. Greubel, Apr 20 2018

(MAGMA) [n + Floor(n/Sqrt(5)) + Floor(n*Sqrt(2)/Sqrt(5)): n in [1..100]]; // G. C. Greubel, Apr 20 2018

CROSSREFS

Cf. A189370, A189371.

Sequence in context: A189220 A189009 A206812 * A108052 A046868 A225240

Adjacent sequences:  A189369 A189370 A189371 * A189373 A189374 A189375

KEYWORD

nonn

AUTHOR

Clark Kimberling, Apr 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 9 17:48 EDT 2020. Contains 333361 sequences. (Running on oeis4.)