An MCP server for LLMs to compute if a number is even or not. 🤔
https://github.com/jamieday/is-even-mcp
good resource
nostr:nevent1qqsx6nax3l5pcm62k9vhxen92ztqegzsf97z88xgjh8assde49l9ctsppemhxue69uhkummn9ekx7mp0qgsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqrqsqqqqqp7uhmqv
Please Login to reply.
ahh the classic npm package in the ai era.
I prefer the recursive version:
is_even(x) { return x == 0 ? true : (x == 1 ? false : is_even(x - 2) }