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!)
A026808 a(n) is the number of products P of distinct positive integers satisfying P <= n. 1
0, 1, 2, 3, 4, 7, 8, 11, 12, 15, 16, 21, 22, 25, 28, 31, 32, 37, 38, 43, 46, 49, 50, 59, 60, 63, 66, 71, 72, 81, 82, 87, 90, 93, 96, 105, 106, 109, 112, 121, 122, 131, 132, 137, 142, 145, 146, 159, 160, 165, 168, 173, 174, 183, 186, 195 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The products must contain at least two integers. - Sean A. Irvine, Oct 13 2019
LINKS
Sean A. Irvine, Java program (github)
EXAMPLE
a(6) = 7 because the possible products are 1*2, 1*3, 1*4, 1*5, 1*6, 2*3, and 1*2*3. - Sean A. Irvine, Oct 13 2019
MAPLE
N:= 200: # for a(1)..a(N)
with(queue):Q:= new():
V:= Vector(N):
for i from 1 to N/2 do
for j from i+1 to N while i*j <= N do
p:= i*j;
V[p]:= V[p]+1;
if p*(j+1) <= N then enqueue(Q, [i, j]) fi
od od:
while not empty(Q) do
s:= dequeue(Q);
p:= convert(s, `*`);
for k from s[-1]+1 to N while p*k <= N do
pp:= p*k;
V[pp]:= V[pp]+1;
if pp*(k+1) <= N then enqueue(Q, [op(s), k]) fi
od;
od:
ListTools:-PartialSums(convert(V, list)); # Robert Israel, Dec 09 2020
CROSSREFS
Partial sums of A254578.
Sequence in context: A343603 A285506 A188190 * A240767 A342028 A368402
KEYWORD
nonn
AUTHOR
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 April 25 06:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)