[go: up one dir, main page]

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!)
Revision History for A318670 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A318670 Number of subsets of divisors of n whose least common multiple is n and the sum does not exceed n. For n > 1, 1 is excluded from the set of divisors.
(history; published version)
#19 by Susanna Cuyler at Wed Sep 12 10:49:03 EDT 2018
STATUS

proposed

approved

#18 by Jon E. Schoenfield at Tue Sep 11 22:34:53 EDT 2018
STATUS

editing

proposed

#17 by Jon E. Schoenfield at Tue Sep 11 22:34:51 EDT 2018
COMMENTS

These count the "starter sets" employed by a simple backtracking algorithm that computes A317624. See the PARI- program dated Sep 08-10 2018 under that entry.

STATUS

proposed

editing

#16 by David A. Corneth at Tue Sep 11 15:15:51 EDT 2018
STATUS

editing

proposed

#15 by Antti Karttunen at Tue Sep 11 09:38:32 EDT 2018
COMMENTS

These count the "starter sets" employed by a simple backtracking algorithm that computes A317624. See the PARI-program dated Sep 08-10 2018 under that entry.

#14 by Antti Karttunen at Tue Sep 11 09:34:36 EDT 2018
PROG

A318670(n) = if(1==n, 1, my(ds=(divisors(n)[2..numdiv(n)]), subsets = select(v -> ((vecsum(v)<=n)&&(n==lcm(v))), powerset(ds))); length(subsets)); \\ VeryA naivememory-hog implementation.

#13 by Antti Karttunen at Tue Sep 11 09:33:17 EDT 2018
LINKS

<a href="/index/Lc#lcm">Index entries for sequences related to lcm's</a>

#12 by Antti Karttunen at Tue Sep 11 09:30:27 EDT 2018
LINKS

Antti Karttunen, <a href="/A318670/b318670.txt">Table of n, a(n) for n = 1..1259</a>

#11 by Antti Karttunen at Tue Sep 11 07:28:52 EDT 2018
FORMULA

For all n >= 1:

a(A000961(n)) = 1.

a(A006881(n)) = 2.

#10 by Antti Karttunen at Tue Sep 11 04:48:14 EDT 2018
EXAMPLE

For n = 45, there exists the following subsets of its divisors larger than one (3, 5, 9, 15, 45) that satisfy the condition that the least common multiple of the members is 45, and the sum does not exceed 45: (45), (3, 9, 15), (3, 5, 9, 15), (3, 5, 9)}, (), (5, 9), (9, 15) and (5, 9, 15), altogether seven subsets, thus a(45) = 7.

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 August 30 19:33 EDT 2024. Contains 375545 sequences. (Running on oeis4.)