Create a PHP script to compute the sum of the first n natural numbers without using loops.
MediumProblem Statement
Create a PHP script to compute the sum of the first n natural numbers without using loops.
Sample Input
10
Sample Output
55
Limits
Time: 2s · Memory: 256 MB