Humbug
1 program
Added 2025-10-22T13:22:54Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: hug
Provenance: commit 04da15c78d · authored 2025-10-22T15:22:54+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Fibonacci sequence generator
Provenance: commit 04da15c78d · authored 2025-10-22T15:22:54+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
module fibonacci
fib(0, 0).
fib(1, 1).
fib(N, F) :-
N > 1,
N1 is N - 1,
N2 is N - 2,
fib(N1, F1),
fib(N2, F2),
F is F1 + F2.
fibs(Max, Fibs) :-
findall(F, (between(0, Max, N), fib(N, F)), Fibs).