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!)
A014887 n is equal to the number of 1's in all numbers <= n written in base 7. 0

%I #9 Oct 10 2021 16:33:18

%S 1,3930,6044,61879,137256

%N n is equal to the number of 1's in all numbers <= n written in base 7.

%t Module[{nn=137300,dc},dc=Accumulate[DigitCount[Range[nn],7,1]];Position[ Thread[ {Range[nn],dc}],_?(#[[1]]==#[[2]]&),1,Heads-> False]]//Flatten (* _Harvey P. Dale_, Oct 10 2021 *)

%Y Cf. A014778, A014886.

%K nonn,base,fini,full

%O 1,2

%A _Olivier GĂ©rard_

%E List proved complete by _Hugo van der Sanden_ (cf. A014886).

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 April 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)