Recursive sequences in CAS on prime.
|
06-19-2015, 04:37 PM
Post: #6
|
|||
|
|||
RE: Recursive sequences in CAS on prime.
I managed to declare the sequence directly in CAS:
Code: u:=(n)->CASE IF (n==1) THEN 3/2 END IF (n==2) THEN 5/3 END IF n>2 THEN 2003-6002/u(n-1)+4000/(u(n-1)*u(n-2)) END END It works fine until n>10. After this, the recursion is too deep. I made a CAS program too with a FOR loop : Code:
But after all this, I think my favorite method is to use the spreadsheet with cells in CAS mode. It is fast and quite easy. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Recursive sequences in CAS on prime. - wawa - 06-19-2015, 07:22 AM
RE: Recursive sequences in CAS on prime. - Arno K - 06-19-2015, 09:01 AM
RE: Recursive sequences in CAS on prime. - wawa - 06-19-2015, 09:20 AM
RE: Recursive sequences in CAS on prime. - ww63 - 06-19-2015, 10:33 AM
RE: Recursive sequences in CAS on prime. - Arno K - 06-19-2015, 02:12 PM
RE: Recursive sequences in CAS on prime. - wawa - 06-19-2015 04:37 PM
|
User(s) browsing this thread: 1 Guest(s)