← Complete problem index

PROJECT EULER · #0946

Continued Fraction Fraction

Statement only · UnsolvedOriginal problem ↗

Given the representation of a continued fraction a0+1a1+1a2+1a3+=[a0;a1,a2,a3,]

α is a real number with continued fraction representation: α=[2;1,1,2,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,]
where the number of 1's between each of the 2's are consecutive prime numbers.

β is another real number defined as β=2α+33α+2

The first ten coefficients of the continued fraction of β are [0;1,5,6,16,9,1,10,16,11] with sum 75.

Find the sum of the first 108 coefficients of the continued fraction of β.

Write-up coming later

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