Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,10 @@
coclass 'mthPower'
N=: 0
create=: 3 :0
M=: y
)
next=: 3 :0
n=. N
N=: N+1
n^M
)

View file

@ -0,0 +1,2 @@
stateySquare=: 2 conew 'mthPower'
stateyCube=: 3 conew 'mthPower'

View file

@ -0,0 +1,6 @@
coclass 'uncubicalSquares'
N=: 0
next=: 3 :0"0
while. (-: <.) 3 %: *: n=. N do. N=: N+1 end. N=: N+1
*: n
)

View file

@ -0,0 +1,2 @@
next__g i.10 [ next__g i.20 [ g=: conew 'uncubicalSquares'
529 576 625 676 784 841 900 961 1024 1089

View file

@ -0,0 +1,4 @@
mthPower=: 1 :'^&m@i.'
squares=: 2 mthPower
cubes=: 3 mthPower
uncubicalSquares=: squares -. cubes

View file

@ -0,0 +1 @@
uncubicalSquares=: {. squares@<.@p.~&3 1.1 -. cubes

View file

@ -0,0 +1,2 @@
20 }. uncubicalSquares 30 NB. the 21st through 30th uncubical square
529 576 625 676 784 841 900 961 1024 1089