The function 'P(n)' is defined as the series product:
where 'T(n)' is the triangular sum:
It can be proven that P(n) is convergent, with:
Write a function that outputs the integer value of 'n' when '3 - P(n)' first becomes less than or equal to a given tolerance 't'.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers19
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15814 Solvers
-
1223 Solvers
-
Project Euler: Problem 7, Nth prime
1776 Solvers
-
248 Solvers
-
Remove the two elements next to NaN value
711 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!