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!)
A217189 a(n) is the number of digits in the decimal representation of the smallest power of 7 that contains n consecutive identical digits. 0

%I #8 Nov 23 2013 13:52:28

%S 1,6,27,61,146,148,1658,5220,28595,51790

%N a(n) is the number of digits in the decimal representation of the smallest power of 7 that contains n consecutive identical digits.

%C Number of digits in 7^k is equal to floor(1 + k*log_10(7)).

%t k = 0; Join[{1}, Table[While[d = IntegerDigits[7^k]; prt = Partition[Differences[d], n - 1, 1]; ! MemberQ[prt, Table[0, {n - 1}]], k++]; Length[d], {n, 2, 8}]] (* _T. D. Noe_, Oct 03 2012 *)

%Y Cf. A215730, A215736.

%K nonn,base

%O 1,2

%A _V. Raman_, Sep 27 2012

%E a(10) added by _V. Raman_, Nov 23 2013

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 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)