Text Listing of the Multiplication Series of a List

jospercomp shared this question 5 months ago
Answered

input={8,2,6,4,...}

output={"8","8*2,"8*2*6","8*2*6*4",...}

Best Answer
photo

T=zip("*"a,a,input)

Sequence(Take(Sum(Take(T, 1, k)), 2), k, 1, Length(T))

Comments (2)

photo
2

T=zip("*"a,a,input)

Sequence(Take(Sum(Take(T, 1, k)), 2), k, 1, Length(T))

photo
1

T=Zip("×" a, a, input)

Sequence(Take(Sum(Take(T, 1, k)), 2), k, 1, Length(T))

photo
© 2021 International GeoGebra Institute