On Sat, 24 Jun 2006 00:00:22 +0200, Simon Kr?ger <SimonKroeger / gmx.de>  
wrote:

> brian.mattern / gmail.com wrote:
>> On Sat, Jun 24, 2006 at 04:41:52AM +0900, Erik Veenstra wrote:
>>>> I error to the left when aligning on the left side of the
>>>> triangle, and to the right on the right side.
>>> No, you don't... ;]
>>>
>>> The left "picture" formed by the numbers 3, 10, 35 and 126
>>> should be a mirror of the right one. It isn't...
>>>
>>> But I like the idea of "erroring" to opposite sides. What about
>>> the center column?
>>
>> Oops :)
>> Thanks. I was off by one on the midpoint.
>> Update: http://rephorm.com/files/dump/pascal28-3.txt
>>
>> Since the center column is arbitrary, I just have it erroring to the
>> right. (It is past the floor of the rows center point).
>>
>>
>> Brian
>
> looks realy nice.
>
> i just stumbled about something interesting. Instead of
> outputting the number just put a '*' for odd numbers and a space for
> even ones. Try with high row count (at least 32)...

Wow, very interesting!

It also works for other numbers (primes in particular) instead of just 2,  
e.g. space if number is divisible by 5 and "*" if not.

> Fun quiz btw.

Indeed.


Dominik