login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A316868 Number of times 7 appears in decimal expansion of n. 6
0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,78

LINKS

Table of n, a(n) for n=0..104.

EXAMPLE

a(0) = 0 since the decimal representation of 0 does not contain the digit 7.

a(7) = 1 since 7 appears once in the decimal expansion of 7.

MATHEMATICA

Array[ DigitCount[#, 10, 7] &, 105, 0]

PROG

(PARI) a(n) = #select(x->x==7, digits(n)); \\ Michel Marcus, Jul 20 2018

CROSSREFS

Cf. A043517, A043518, A043519, A043520.

Cf. A055641, A268643, A316863, A316864, A316865, A316866, A316867, A316869, A102683.

Sequence in context: A086073 A053622 A016408 * A106822 A203905 A309142

Adjacent sequences:  A316865 A316866 A316867 * A316869 A316870 A316871

KEYWORD

base,easy,nonn

AUTHOR

Robert G. Wilson v, Jul 15 2018

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 October 14 16:48 EDT 2019. Contains 328022 sequences. (Running on oeis4.)