|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen GIER Computer |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen GIER Computer Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 2200 (0x898) Description: Bits:30000658 Primtal Types: 8-hole paper tape Notes: Gier Text, Has Comment, Parity Errors
begin _____integer i , j , k , q , stop , p , tal , n , t , aar , ar , arnr , nr , pro , ud _______;integer array c[0:39],d[0:39],e[1:149]; _______ _____boolean array A[0:1300],B[0:40]; _______ _____select(8); writechar(42);B[0]:=__1; 40A[0]:=__1; 40for i:= 1 step 1 until 1300 do A[i]:=false; ___ ____ _____ __ _____for i:= 1 step 1 until 40 do B[i]:=B[0]shifti; ___ ____ _____ __ _____k:=5; n:=0;for i:= 1,7,11,13,17,19,23,29,31,37,41,43,47,49,53,59,61,67,71,73,77,79,83,89, ___91,97,101,103,107,109,113,119,121,127,131,133,137,139,143,149do __begin _____c[n]:=i; n:=n+1;end; ___for i:=0 step 1 until 39 do e[c[i]]:=i; ___ ____ _____ __stop:=sqrt(10000); t:=2;writetext(|< <primtal2 3 5|); >ud:=3;for k:=kwhilek<stop-2 do ___ _____ __begin _____q:=p:=0;for k :=kwhile integer(A[p]∧B[q])|0do ___ _____ _______ = __begin _____ifq=39then begin q:=0;p:=p+1;endelseq:=q+1; __ ____ _____ _______k:=150⨯p+c[q];end; ___j:=67_k; :for i:=0 step 1 until 39 do d[i]:=c[i]⨯k; ___ ____ _____ __for ar:= j step -1 until p do ___ ____ _____ __begin _____tal:=k⨯ar⨯150; aar:=A[ar];for i:= 39 step -1 until 0 do if integer(aar∧B[i])=0then ___ ____ _____ __ __ _______ ____begin _____pro:=tal+d[i]; arnr:=pro/150; A[arnr]:=A[arnr]∨B[e[pro-150⨯arnr]];end; ___end; ___write(|ddddddd|,k); < >ud:=ud+1;ifudmod15=0thenwritecr; __ ___ ____end; ___fori:=q+1step 1 until 39 do if integer(A[p]∧B[i])=0then ___ ____ _____ __ __ _______ ____begin _____write(|ddddddd|,150⨯p+c[i]); < >ud:=ud+1;ifudmod15=0thenwritecr; __ ___ ____end; ___forp:=p+1step 1 until 66do ___ ____ _____ __fori:=0step 1 until 39 do if integer(A[p]∧B[i])=0then ___ ____ _____ __ __ _______ ____begin _____write(|ddddddd|,150⨯p+c[i]); < >ud:=ud+1;ifudmod15=0thenwritecr; __ ___ ____end; ___end; ___run< 1[ s t o p ]
1 parity errors (0.0%) Parity errors are marked in blue.