Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Babbage-problem/J/babbage-problem-1.j
Normal file
6
Task/Babbage-problem/J/babbage-problem-1.j
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
square=: ^&2
|
||||
modulo1e6=: 1000000&|
|
||||
trythese=: i. 1000000 NB. first million nonnegative integers
|
||||
which=: I. NB. position of true values
|
||||
which 269696=modulo1e6 square trythese NB. right to left <-
|
||||
25264 99736 150264 224736 275264 349736 400264 474736 525264 599736 650264 724736 775264 849736 900264 974736
|
||||
Loading…
Add table
Add a link
Reference in a new issue