login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024565 a(n) = Sum_{k=1..n} [ 1/{k*sqrt(7)} ] where {x} := x - [ x ]. 2
1, 4, 5, 6, 10, 11, 12, 18, 19, 21, 30, 31, 33, 57, 58, 61, 62, 63, 66, 67, 68, 72, 73, 75, 81, 82, 84, 96, 97, 99, 153, 154, 157, 158, 159, 163, 164, 165, 170, 171, 173, 181, 182, 184, 201, 202, 204, 205, 206, 209, 210, 211, 215, 216, 217, 223, 224, 226 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..1000

MATHEMATICA

Table[Sum[Floor[1/FractionalPart[k*Sqrt[7]]], {k, 1, n}], {n, 100}] (* Clark Kimberling, Aug 15 2012 *)

PROG

(MAGMA) a:=Sqrt(7); [&+[Floor(1/(k*a-Floor(k*a))):k in [1..n]]:n in [1..60]]; // Marius A. Burtea, Jul 16 2019

CROSSREFS

Cf. A024566. Partial sums of A024564.

Sequence in context: A026312 A070751 A047258 * A327223 A143833 A186808

Adjacent sequences:  A024562 A024563 A024564 * A024566 A024567 A024568

KEYWORD

nonn

AUTHOR

Clark Kimberling

EXTENSIONS

Corrected by Clark Kimberling, Aug 15 2012

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 October 16 16:18 EDT 2019. Contains 328101 sequences. (Running on oeis4.)