I have a list of five elements. For example,
list1 = {a1, a2, a3, a4, a5};
I'm trying to get a list:
{{a2/a1}, {a3/a1, a3/a2}, {a4/a1, a4/a2, a4/a3}, {a5/a1, a5/a2, a5/a3, a5/a4}}
How can I do this? And can I get it without Table
?
Then, it is necessary to combine it with another list
list2 = {{b1, c1}, {b2, c2}, {b3, c3}, {b4, c4}, {b5, c5}};
as
{{b1, c1, a2/a1}, {{b1, c1, a3/a1}, {b2, c2, a3/a2}}, {{b1, c1, a4/a1}, {b2, c2, a4/a2},
{b3, c3, a4/a3}}, {{b1, c1, a5/a1}, {b2, c2, a5/a2}, {b3, c3, a5/a3}, {b4, c4, a5/a4}}}
I'd like to do this with Mathematica functions. Any ideas?