DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦4a936f583⟧ TextFile

    Length: 768 (0x300)
    Types: TextFile
    Names: »kk1«

Derivation

└─⟦621cfb9a2⟧ Bits:30002817 RC8000 Dump tape fra HCØ.  Detaljer om "HC8000" projekt.
    └─⟦0364f57e3⟧ 
        └─⟦508e019d6⟧ »kkfiler« 
            └─⟦this⟧ 
└─⟦00964e8f7⟧ Bits:30007478 RC8000 Dump tape fra HCØ.
    └─⟦b2ec5d50f⟧ 
        └─⟦8748ba386⟧ »kkfiler« 
            └─⟦this⟧ 

TextFile

begin
  integer i,j,k,sum,c0,c1,c2,c3;
  k:=sum:=0;
  read(in,j);
  for i:=1 step 1 until j do
  begin
    sum:=i;
    write(out,<:<10>:>,i);
    for sum:=(sum mod 10)**2 + (sum//10 mod 10)**2+(sum//100 mod 10)**2 while
    sum<>58 and sum<>89 and sum<>145 and sum<>42 and sum<>20
    and sum<>4 and sum<>16 and sum<>1 and sum<>37 do write(out,sum);
    write(out,sum);
  end
end
▶EOF◀