Thread: Aliquot genealogy project View Single Post
2012-01-01, 20:27   #37
science_man_88

"Forget I exist"
Jul 2009
Dumbassville

100000101100012 Posts

Quote:
 Originally Posted by science_man_88 I think I have a way making three loops ( some with multiple loops) that could get a similar looking file , I'll try it out.
Code:
aliquotfile(w,s)=print("digraph G {");forprime(z=w,s,print("\""z"p\"""[shape=plaintext];"));print();forprime(y=w,s,print(ali(y)"[shape=plaintext];"))
is the closest I could get to work.

Code:
aliquotfile(w,s)=print("digraph G {");forprime(z=w,s,print("\""z"p\"""[shape=plaintext];"));print();forprime(y=w,s,for(x=1,#ali5(y),print(ali(y)[x]"[shape=plaintext];")))
gave me a negative amount of components in vector error