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!)
A024560 a(n) = Sum_{k=1..n} floor(1/{k*sqrt(6)}) where {x} := x - floor(x). 2
2, 3, 5, 6, 10, 11, 17, 18, 40, 42, 43, 45, 46, 49, 50, 55, 56, 67, 68, 69, 71, 72, 74, 75, 79, 80, 87, 88, 116, 118, 119, 121, 122, 125, 126, 131, 132, 144, 145, 146, 148, 149, 152, 153, 157, 158, 165, 166, 206, 208, 209, 211, 212, 215, 216, 221, 222, 236, 237, 238, 240, 241, 244 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[Sum[Floor[1/FractionalPart[k*Sqrt[6]]], {k, 1, n}], {n, 1, 100}]
(* Clark Kimberling, Aug 16 2012 *)
PROG
(Magma) a:=Sqrt(6); [&+[Floor(1/(k*a-Floor(k*a))):k in [1..n]]:n in [1..60]]; // Vincenzo Librandi, Jul 17 2019
(PARI) a(n) = sum(k=1, n, floor(1/frac(k*sqrt(6)))); \\ Michel Marcus, Jul 17 2019
CROSSREFS
Cf. A024561. Partial sums of A024559.
Sequence in context: A051839 A130714 A130689 * A000039 A302600 A053436
KEYWORD
nonn
AUTHOR
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 March 19 03:33 EDT 2024. Contains 370952 sequences. (Running on oeis4.)