← Complete problem index

PROJECT EULER · #0235

An Arithmetic Geometric Sequence

Statement only · SolvedOriginal problem ↗

Given is the arithmetic-geometric sequence u(k)=(900−3k)rk−1.
Let s(n)=∑k=1nu(k).

Find the value of r for which s(5000)=−600000000000.

Give your answer rounded to 12 places behind the decimal point.

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.