The basic syntax for a for loop in F# is :for pattern in enumerable-expression dobody-expressionThe enumerable-expression can be a list, sequence, array, sets, maps so on.It can also be a range, like 1 .. 10 or 1 .. 2 .. 10.The former meaning the range of integers from 1 to 10. The later means, rangeof odd integers (jumping 2 steps ahead) from 1 to 10.
10
nth term
12 - 5(n-1)
Put n = 1, 2, 3, 4 etc in the expression 5n + 2 and evaluate to get the sequence.
It is a sequence of three integers.
The number is dived by 10 so 1000, 100, 10, 1, 1/10, 1/100 1/000
the answer is 10^0=1 the number 1
10 to the 6th power
This sequence can be generalized as: 1+10^-(n+2) where n = 0,1,2,3,.... As n goes to infinity, 10^(-inf) goes to zero. So, the final term in the sequence will be 1.
0.1
Yes I actuually do. But not right now! Maybe another time?