Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
19
Task/Fractran/TI-83-BASIC/fractran.basic
Normal file
19
Task/Fractran/TI-83-BASIC/fractran.basic
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
100->T
|
||||
2->N
|
||||
{17,78,19,23,29,77,95,77, 1,11,13,15,15,55}->LA
|
||||
{91,85,51,38,33,29,23,19,17,13,11,14, 2, 1}->LB
|
||||
Dim(LA)->U
|
||||
T->Dim(LC)
|
||||
For(I,1,T)
|
||||
1->J: 1->F
|
||||
While J<=U and F=1
|
||||
If remainder(N,LB(J))=0
|
||||
Then
|
||||
Disp N
|
||||
N->LC(I)
|
||||
iPart(N/LB(J))*LA(J)->N
|
||||
0->F
|
||||
End
|
||||
J+1->J
|
||||
End
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue