Solution:
Let us write P(x) as an infinite series:
P(x)=1+8x+4x2+8x3+4x4+8x5+4x6+⋯
Notice the coefficients alternate between 8 and 4 starting from 8x.
Let us group the terms:
P(x)=1+(8x+4x2)+(8x3+4x4)+(8x5+4x6)+⋯
Let us factor each group:
8x+4x2=4x(2+x)
8x3+4x4=4x3(2+x)
8x5+4x6=4x5(2+x)
So,
P(x)=1+4x(2+x)+4x3(2+x)+4x5(2+x)+⋯
Now, factor 4(2+x) out of each term except the first:
P(x)=1+4(2+x)[x+x3+x5+⋯]
The sum inside the brackets is a geometric series with first term x and ratio x2:
x+x3+x5+⋯=x(1+x2+x4+⋯)=x(1−x21)
So,
P(x)=1+4(2+x)⋅1−x2x
Now, plug in x=1/7:
First, compute 1−x2=1−(1/7)2=1−1/49=48/49
2+x=2+1/7=15/7
So,
P(71)=1+4⋅715⋅71⋅4849
Calculate 4⋅715=760
So,
P(71)=1+760⋅71⋅4849
760⋅71=4960
So,
P(71)=1+4960⋅4849=1+4860=1+45=49
Final Answer:
P(71)=49