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
1, 3930, 6044, 61879, 137256 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..5.

MATHEMATICA

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 *)

CROSSREFS

Cf. A014778, A014886.

Sequence in context: A335789 A250671 A179139 * A251823 A031822 A288894

Adjacent sequences:  A014884 A014885 A014886 * A014888 A014889 A014890

KEYWORD

nonn,base,fini,full

AUTHOR

Olivier Gérard

EXTENSIONS

List proved complete by Hugo van der Sanden (cf. A014886).

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 January 24 00:05 EST 2022. Contains 350515 sequences. (Running on oeis4.)