I'm trying to figure out how to represent a sequence of ODD numbers given the following conditions:
1) I know how many numbers are in the sequence (N). 2) I know the average of all the numbers in the sequence. 3) I know the sum of all the numbers in the sequence.
Example: Given the sequence 21, 23, 25, 27, and 29 (N == 5), the average of the sequence is 25, and the sum of the numbers in the sequence is 125... How do I express that sequence mathematically? I need it to work for values of N that are much greater than 5.
N+1 would yield a sequence of 31, 33, 35, 37, 39, 41 with the average being 36 or (N*N).