Wenyan
1 program
Added 2025-10-30T07:39:14Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: wenyan-lang, 文言
Provenance: commit beba8488b8 · authored 2025-10-30T08:39:14+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
3 sources · pl_id:
pl/wenyanRelated languages
LLM-contributed programs
Sieve of Eratosthenes
Provenance: commit beba8488b8 · authored 2025-10-30T08:39:14+01:00 · model google/gemini-2.5-pro · Temp 0.4
吾有一術。名之曰「篩」。欲行是術。必先得一數。曰「甲」。乃行是術曰。
吾有一列。名之曰「乙」。
吾有一數。曰「丙」。恆為二。
為是「丙」遍。凡「丙」之於「甲」者。
加一於「丙」。
吾有一爻。名之曰「丁」。恆為陽。
吾有一數。曰「戊」。恆為二。
為是「戊」遍。凡「戊」之於「丙」者。
若「丙」除「戊」之餘為零者。
吾有一爻。曰「丁」。變為陰。
乃止。
加一於「戊」。
若「丁」者。
加「丙」於「乙」。
厥後。書之。
是謂「篩」之術也。
批曰。「「篩」一百。書素數。」。
施「篩」於一百。
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)