login
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
OFFSET
1,2
COMMENTS
(See A189370.)
LINKS
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
Sequence in context: A189009 A350575 A206812 * A108052 A359113 A046868
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 20 2011
STATUS
approved