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!)
A343915 a(n) = floor(((n mod 6)+1) * 10^floor((n/6)+1) / 7). 0

%I #37 Jun 07 2021 00:20:47

%S 1,2,4,5,7,8,14,28,42,57,71,85,142,285,428,571,714,857,1428,2857,4285,

%T 5714,7142,8571,14285,28571,42857,57142,71428,85714,142857,285714,

%U 428571,571428,714285,857142,1428571,2857142,4285714,5714285,7142857,8571428,14285714

%N a(n) = floor(((n mod 6)+1) * 10^floor((n/6)+1) / 7).

%C Every digit string (after the decimal point) in the decimal expansion of 1/7 = 0.142857142857142857... forms a term of this sequence.

%H Konstantin Kutsenko, <a href="https://github.com/constcut/cyclicprime-cli">Python module used to generate sequences from different numbers</a>

%F a(n) = floor(((n mod 6)+1) * 10^floor((n/6)+1) / 7).

%e Every 6th term of the sequence starts with the same digits:

%e 1, 2, 4, 5, 7, 8,

%e 14, 28, 42, 57, 71, 85,

%e 142, 285, 428, 571, 714, 857,

%e 1428, 2857, 4285, 5714, 7142, 8571,

%e 14285, 28571, 42857, 57142, 71428, 85714,

%e 142857, 285714, 428571, 571428, 714285, 857142,

%e 1428571, 2857142, 4285714, 5714285, 7142857, 8571428,

%e 14285714, 28571428, 42857142, 57142857, 71428571, 85714285,

%e ...

%o (PARI) a(n) = {((n % 6)+1)*10^(n\6+1)\7} \\ _Andrew Howroyd_, May 05 2021

%Y Cf. A020806, A241217, A343833.

%K nonn,base

%O 0,2

%A _Konstantin Kutsenko_, May 04 2021

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 August 12 17:30 EDT 2024. Contains 375113 sequences. (Running on oeis4.)