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!)
A128635 Number of numbers not greater than n and divisible by all digits in decimal representation. 2

%I #6 Feb 21 2020 15:49:04

%S 1,2,3,4,5,6,7,8,9,9,10,11,11,11,12,12,12,12,12,12,12,13,13,14,14,14,

%T 14,14,14,14,14,14,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,18,18,

%U 18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20

%N Number of numbers not greater than n and divisible by all digits in decimal representation.

%C a(A034838(n)) = n.

%H R. Zumkeller, <a href="/A128635/b128635.txt">Table of n, a(n) for n = 1..10000</a>

%e a(42) = #{1,2,3,4,5,6,7,8,9,11,12,15,22,24,33,36} = 16.

%t Accumulate[Table[If[DigitCount[n,10,0]==0&&Union[Mod[n,IntegerDigits[n]]] == {0},1,0],{n,80}]] (* _Harvey P. Dale_, Feb 21 2020 *)

%K nonn,base

%O 1,2

%A _Reinhard Zumkeller_, Mar 16 2007

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 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)