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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A275624 a(n) = minimal m such that Sum_{k=1..m} 0.k >= n. 4
4, 6, 8, 9, 14, 20, 24, 28, 31, 34, 37, 40, 42, 45, 47, 49, 51, 53, 55, 56, 58, 60, 62, 63, 65, 66, 68, 69, 71, 72, 73, 75, 76, 77, 79, 80, 81, 82, 84, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 104, 113, 122, 130, 137, 144, 151, 157, 164, 170 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Here 0.k means the decimal fraction obtained by writing k after the decimal point, e.g. 0.12 = 12/100 = 3/25.

LINKS

Alois P. Heinz, Table of n, a(n) for n = 1..20000

EXAMPLE

a(7) = 20 because .1 + .2 + ... + .9 + .10 + .11 + ... + .20 = 141/20 = 7.05 is the first time the sum reaches 7.

MAPLE

b:= proc(n) option remember;

       n/10^length(n)+`if`(n<2, 0, b(n-1))

    end:

a:= proc(n) option remember; local k; for k from

      `if`(n=1, 1, a(n-1)) while b(k)<n do od; k

    end:

seq(a(n), n=1..100);  # Alois P. Heinz, Aug 17 2016

CROSSREFS

Cf. A054464, A275623.

Sequence in context: A118951 A262389 A254755 * A228019 A228020 A163282

Adjacent sequences:  A275621 A275622 A275623 * A275625 A275626 A275627

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Aug 07 2016

EXTENSIONS

More terms from Alois P. Heinz, Aug 17 2016

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 December 1 08:44 EST 2021. Contains 349426 sequences. (Running on oeis4.)