一键导入
hailstone-sequence
Compute the complete Hailstone sequence for a given starting number by repeatedly calling the next_number tool until the value 1 is reached.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compute the complete Hailstone sequence for a given starting number by repeatedly calling the next_number tool until the value 1 is reached.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compute the top-10 most frequent words in any text passage supplied by the user.
Compute a sequence for a given starting number by repeatedly calling the next_number tool until the value 1 is reached.
Bump the package version (major, minor, or patch), then sync CITATION.cff, src/_version.py, and CHANGELOG.md. Use when asked to cut a release or bump the version.
Create a GitHub issue in nerdai/llm-agents-from-scratch and add it to project
| name | hailstone-sequence |
| description | Compute the complete Hailstone sequence for a given starting number by repeatedly calling the next_number tool until the value 1 is reached. |
Compute the full Hailstone (Collatz) sequence from a starting number down to 1
using the next_number tool.
The user must provide a starting number (a positive integer greater than 1).
If no starting number is given, ask the user before proceeding.
Set the current number x to the starting number provided by the user.
Begin tracking the sequence as a list: [x].
Call next_number with the current value of x.
next_number(x=<current_number>)
STOP and WAIT for the tool result before continuing.
Append the returned value to the sequence list.
Set x to the returned value.
x == 1, proceed to Step 5.Important rules:
Print the complete sequence from start to finish, for example:
6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1
Also report: