|
|
A236684
|
|
Values of c of triples (a,b,c) of positive integers such that 1/a + 1/b + 1/c = 1/2 and a <= b <= c. Listed with multiplicity, corresponding to solutions (a,b,c) listed in lexicographic order.
|
|
4
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
According to J. Baez, a(1) is the Answer to the Ultimate Question of Life, the Universe, and Everything, cf. LINK.
Sequence A236681 is the range of this sequence, i.e., terms sorted in increasing order and duplicates removed.
|
|
LINKS
|
|
|
EXAMPLE
|
The solutions [a,b,c] of 1/a + 1/b + 1/c = 1/2 and a <= b <= c, listed in lexicographical order, are: {[3, 7, 42], [3, 8, 24], [3, 9, 18], [3, 10, 15], [3, 12, 12], [4, 5, 20], [4, 6, 12], [4, 8, 8], [5, 5, 10], [6, 6, 6]}.
|
|
PROG
|
(PARI) forvec(v=vector(3, i, [3, 42]), sum(j=1, 3, 1/v[j])==1/2&&print1(v[3]", "), 1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|