RE: Converting Fibonacci Table
- To: mathgroup at smc.vnet.net
- Subject: [mg27717] RE: [mg27585] Converting Fibonacci Table
- From: "Higinio Ramos" <higra at gugu.usal.es>
- Date: Tue, 13 Mar 2001 03:52:36 -0500 (EST)
- Organization: usal
- References: <200103070908.EAA05123@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
----- Original Message ----- From: Nanom3 <nanom3 at home.com> To: mathgroup at smc.vnet.net Subject: [mg27717] [mg27585] Converting Fibonacci Table > Hi > > I am relatively new to Mathematica so please excuse if this is an obvious > question. I have searched the archives and not found it addressed. > I am looking for an easy way to take the first 100 fibonacci numbers and > convert them into a number series where each element in the set consists of > only one digit. For instance 1,1,2,3,5,8,13,21.... would become > 1,2,3,5,8,1,3,2,1.... From there I want to partition it in different ways > to make matrices but I think I know how to do that.... > > Any help appreciated, > Mark > > I d'ont know if you prefer not to have the first repeated element, but anyway this is easy to eliminate, and Flatten[Map[IntegerDigits, {1, 1, 2, 3, 5, 8, 13, 21}]] do what you want. Higinio
- References:
- Converting Fibonacci Table
- From: "Nanom3" <nanom3@home.com>
- Converting Fibonacci Table