Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Regenspaziergang

    "Bottom-Up" recursive predicates -- Hofstadter Numbers

    Hello, I'm currently learning Prolog and just found the "Bottom-up"-way of writing recursive functions, for example for the Fibonacci numbers. % Fibonacci: Q(1) = Q(2) = 1 % Q(n) = Q(n-1) + Q(n-2) fibo(0, 0). fibo(1, 1). fibo(N, Erg) :- N > 1, A is N-1, B...

Part and Inventory Search

Back
Top