languages

May
31

APL Hacking: Project Euler (#30)

I figure it's about time I posted another Project Euler.Problem #30: ∇Z←PETHIRTY;M [1] ⍝ Find the
May
10

Revisiting Send + More = Money

In my last post I attempted to solve the Send + More = Money Cryptarithmetic problem. I didn't quite understand
2 min read
May
08

Send + More = Money

After talking with Prof. Friedman, he gave me an interesting constraint problem. This is a well known example of a
1 min read
May
04

APL Hacking: Project Euler (#29)

Problem #29:∇Z←PETWENTYNINE;⎕IO ⎕IO←1 ⍝ Compute the cardinality of the set ⍝ {a*b | 2≤a≤100 ^ 2≤b≤
May
02

APL Hacking: Project Euler (#28)

Problem #28:Z←PETWENTYEIGHT ⍝ Sum of the diagonals of a 1001 by 1001 spiral Z←+/+1,4/2×⍳500 This
Apr
19

APL Hacking; Project Euler (#27)

Problem #27:∇Z←PETWENTYSEVEN;A;B;X;P ⍝ Find the product of the coefficients A and B ⍝ that have the
1 min read
Apr
17

APL Hacking: Project Euler (#26)

Problem #26:∇Z←CYCLE∆LENGTH N;A;I;R ⍝ Find the length of the cycle of 1÷N. Z←0
1 min read
Apr
16

APL Hacking: Project Euler (#25)

Problem #25:∇R←PETWENTYFIVE;I;A;X;⎕IO;B;D ⎕IO←1 ⍝ What is the first fibonnacci term to contain
Apr
13

APL Hacking: Project Euler (#24)

Problem #24:∇R←PETWENTYFOUR;N;A;I ⍝ Compute the 1,000,000th Lexicographic Permutation of ⍝ 0 through 9. N←10
1 min read
Apr
10

APL Hacking: Project Euler (#23)

Problem #23:∇R←PETWENTYTHREE;ABDP;N;X ⍝ Find the sum of all the positive integers ⍝ which cannot be written as
1 min read