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
-
Project Euler: Problem 10, Sum of Primes
2122 Solvers
-
Circular Primes (based on Project Euler, problem 35)
655 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
945 Solvers
-
Convert given decimal number to binary number.
2345 Solvers
-
45 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!