Question: Input: The starting four elements of a sequence that follows the pattern: a, (ar + d), (ar? + d), (ar3 + d),... o Format: Four

Input: The starting four elements of a sequence that follows the pattern: a, (ar + d), (ar? + d), (ar3 + d),... o Format: Four numbers each separated by space. Terminated by . Goal: Find integers a, r, and d with a 70 and r +0 that satisfy the input pattern. Output: Print the values of a, r, and d, each separated by a space. Terminate the line with a In. Example: Input: 15711 In o Output: 1 2 3 Remark: Every line of the input forms an input instance. Process each input instance as it is received. Stop at EOF. See public test cases for more examples
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
