[seqfan] Re: Code

israel at math.ubc.ca israel at math.ubc.ca
Thu Jun 22 00:57:21 CEST 2017


Style can be good, I think.  Obfuscation is bad.

Cheers,
Robert

On Jun 21 2017, Harvey P. Dale wrote:

>        Sometimes I include a Mma program even when there are already Mma 
> programs listed, and my purpose is to demonstrate what I believe to be a 
> better Mma "style." Is it acceptable to include such a "stylistic" 
> program, or are the only criteria simpler or faster? Best, Harvey
>
> -----Original Message----- From: SeqFan 
> [mailto:seqfan-bounces at list.seqfan.eu] On Behalf Of Neil Sloane Sent: 
> Wednesday, June 21, 2017 3:45 PM To: Sequence Fanatics Discussion list 
> <seqfan at list.seqfan.eu> Subject: [seqfan] Re: Code
>
>Hans,  I agree completely.  Good catch.
>
>Best regards
>Neil
>
>Neil J. A. Sloane, President, OEIS Foundation.
>11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
>Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.
>Phone: 732 828 6098; home page: http://NeilSloane.com
>Email: njasloane at gmail.com
>
>
>On Wed, Jun 21, 2017 at 3:32 PM, Hans Havermann <gladhobo at bell.net> wrote:
>
>> I presume that the inclusion of code in sequences is to be able to 
>> generate/verify/extend that sequence. Simpler and faster is better.
>> Browsing the OEIS today I chanced upon this Mathematica code for 
>> Fibonacci numbers < https://oeis.org/A000045 >:
>>
>> Table[Fibonacci[n]^5 - Fibonacci[1 + n] + 3 Fibonacci[n]^4 Fibonacci[1 
>> + n] + Fibonacci[n]^3 Fibonacci[1 + n]^2 - 3 Fibonacci[n]^2 
>> Fibonacci[1 +
>> n]^3 - Fibonacci[n] Fibonacci[1 + n]^4 + Fibonacci[1 + n]^5, {n, 1, 
>> 10}]
>>
>> It's an interesting Fibonacci identity worthy perhaps of mention in 
>> the comments (if it isn't already there) but I'm not sure it ought to 
>> be where it is.
>>
>> --
>> Seqfan Mailing list - http://list.seqfan.eu/
>>
>
>--
>Seqfan Mailing list - http://list.seqfan.eu/
>
>--
>Seqfan Mailing list - http://list.seqfan.eu/
>
>



More information about the SeqFan mailing list