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!)
A333442 For any n > 0, let Sum_{k >= 0} d_k / 10^k be the decimal representation of 1/n; a(n) is the least m such that d_m = max_{k >= 0} d_k. 1
0, 1, 1, 2, 1, 2, 4, 3, 1, 1, 2, 2, 4, 6, 2, 2, 9, 2, 10, 2, 6, 3, 12, 4, 2, 3, 3, 8, 15, 2, 15, 5, 2, 3, 3, 3, 3, 9, 4, 3, 5, 6, 10, 4, 2, 6, 8, 4, 22, 2, 3, 3, 7, 3, 3, 4, 9, 9, 4, 3, 5, 6, 4, 4, 5, 3, 4, 13, 5, 5, 35, 4, 5, 4, 3, 8, 4, 4, 6, 4, 9, 5, 8, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

COMMENTS

In other words, a(n) is the position of the first occurrence of the largest digit in the decimal representation of 1/n (A333236).

LINKS

Rémy Sigrist, Table of n, a(n) for n = 1..10000

Rémy Sigrist, PARI program for A333442

Index entries for sequences related to decimal expansion of 1/n

FORMULA

a(10*n) = a(n) + 1.

EXAMPLE

The first terms, alongside 1/n with the first occurrence of A333236(n) in parentheses, are:

  n   a(n)  1/n

  --  ----  ---------------

   1     0  (1)

   2     1    0.(5)

   3     1    0.(3)33333...

   4     2    0.2(5)

   5     1    0.(2)

   6     2    0.1(6)6666...

   7     4    0.142(8)57...

   8     3    0.12(5)

   9     1    0.(1)11111...

  10     1    0.(1)

PROG

(PARI) See Links section.

CROSSREFS

Cf. A333236.

Sequence in context: A181293 A262876 A263045 * A319563 A201912 A201908

Adjacent sequences:  A333439 A333440 A333441 * A333443 A333444 A333445

KEYWORD

nonn,base

AUTHOR

Rémy Sigrist, Mar 21 2020

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 September 24 17:33 EDT 2021. Contains 347651 sequences. (Running on oeis4.)