ParthKohli
How may I use Wolfram Mathematica to make a formula for ANY given sequence?



This Question is Closed

Ishaan94
Best Response
You've already chosen the best response.
0
Post the sequence.

ParthKohli
Best Response
You've already chosen the best response.
0
I'm talking about it generally.

ParthKohli
Best Response
You've already chosen the best response.
0
@robtobey Mathematica help, if you may.

eliassaab
Best Response
You've already chosen the best response.
1
Table[ n,{n,1,100}]

ParthKohli
Best Response
You've already chosen the best response.
0
For example, if I have {1,5,138233,393943585}, how will I make a formula for it USING WOLFRAM MATHEMATICA?

eliassaab
Best Response
You've already chosen the best response.
1
This will give you the sequence from 1 to 100

ParthKohli
Best Response
You've already chosen the best response.
0
@eliassaab Is there a function which I could use for finding a formula?

eliassaab
Best Response
You've already chosen the best response.
1
You have to know a(n) in terms of n
\[
Table[ n/(n+1),{n,1,100}]
\]

ParthKohli
Best Response
You've already chosen the best response.
0
For example, if I have {1,2,4,8,16,32.....}, is there a command which would return me with \(a_n = 2^{n  1}\)?

eliassaab
Best Response
You've already chosen the best response.
1
Sum[i, {i, 1, k}] = (k (k + 1))/2

eliassaab
Best Response
You've already chosen the best response.
1
No. if you know a(n), you can find the sequence, but not vice versa.

ParthKohli
Best Response
You've already chosen the best response.
0
I wish Mathematica could generalize a formula for any given sequence.

eliassaab
Best Response
You've already chosen the best response.
1
You can write a function that check a specific sequence.

ParthKohli
Best Response
You've already chosen the best response.
0
Thank you for the effort anyway. :)