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!)
A014889 n is equal to the number of 5s in all numbers <= n written in base 7. 0
761664, 817499, 817500, 817507, 817508, 819609, 823543, 1585207, 1641042, 1641043, 1641050, 1641051, 1643152, 1647086, 2408750, 2464585, 2464586, 2464593, 2464594, 2466695, 2470629, 3232293, 3288128, 3288129, 3288136, 3288137, 3290238, 3294172, 4055836, 4111671, 4111672, 4111679, 4111680, 4113781 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 1, -1).

FORMULA

a(n) = a(n-1) + a(n-7) - a(n-8) for  8 < n <= 34. - Chai Wah Wu, Jun 06 2016

MATHEMATICA

LinearRecurrence[{1, 0, 0, 0, 0, 0, 1, -1}, {761664, 817499, 817500, 817507, 817508, 819609, 823543, 1585207}, 34] (* Harvey P. Dale, Apr 14 2020 *)

CROSSREFS

Cf. A014778.

Sequence in context: A137468 A183825 A254074 * A014888 A234990 A043673

Adjacent sequences:  A014886 A014887 A014888 * A014890 A014891 A014892

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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 22 23:18 EDT 2022. Contains 353959 sequences. (Running on oeis4.)