Find and such that is part of an arithmetic sequence.
,
Then find and so that the sequence is part of a geometric sequence.
,
(Warning: and might not be integers.)