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

%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 May 28 09:09 EDT 2022. Contains 354112 sequences. (Running on oeis4.)