login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A071523
Number of 11-smooth numbers <= n.
1
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12, 13, 14, 15, 15, 16, 16, 17, 18, 19, 19, 20, 21, 21, 22, 23, 23, 24, 24, 25, 26, 26, 27, 28, 28, 28, 28, 29, 29, 30, 30, 31, 32, 32, 32, 33, 34, 35, 35, 35, 35, 36, 37, 38, 38, 38, 38, 39, 39, 39, 40, 41, 41, 42, 42, 42, 42, 43, 43, 44
OFFSET
1,2
COMMENTS
An 11-smooth number is a number of the form 2^x*3^y*5^z*7^u*11^v (x,y,z,u,v) >= 0.
FORMULA
a(n) = Card{ k | A051038(k) <= n }
MATHEMATICA
Accumulate[Table[If[Max[FactorInteger[n][[;; , 1]]]<=11, 1, 0], {n, 120}]] (* Harvey P. Dale, Sep 02 2024 *)
PROG
(PARI) a(n)=sum(k=1, n, (k<4) || 13>vecmax(factor(k)~[1, ]))
CROSSREFS
Sequence in context: A377293 A357030 A303219 * A297244 A070696 A053834
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 02 2002
STATUS
approved