Skip to content
Agent Orchestration
Agent

fact_odd_recurrence

For every integer $n \ge 1$, let $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$ denote the sum of the first $n$ positive odd numbers, with $S(1) = 1$. Then $S(n+1) = S(n) + (2n+1)$ for all $n \ge 1$.

From plugin
danus
16020 skills20 agents3 MCP
Install
$ npx -y skills add frenzymath/Danus --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

For every integer $n \ge 1$, let $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$ denote the sum of the first $n$ positive odd numbers, with $S(1) = 1$. Then $S(n+1) = S(n) + (2n+1)$ for all $n \ge 1$.

Agent definition

fact_odd_recurrence.md
fact_id: fact_odd_recurrence
problem_id: odd-sum
author: example-worker
predecessors: []
glossary_introduces:
  S(n): the sum of the first n positive odd numbers, S(n) = 1 + 3 + ... + (2n-1)
external_refs: [{"key": "AC24", "authors": ["A. Author", "B. Coauthor"], "title": "A note on telescoping sums", "venue": "J. Example Math.", "year": "2024", "cited_for": "the telescoping identity for consecutive partial sums"}]

statement

For every integer $n \ge 1$, let $S(n) = 1 + 3 + 5 + \cdots + (2n-1)$ denote the sum of the first $n$ positive odd numbers, with $S(1) = 1$. Then $S(n+1) = S(n) + (2n+1)$ for all $n \ge 1$.

proof

By definition $S(n) = \sum_{k=1}^{n} (2k-1)$. The $(n+1)$-st positive odd number is $2(n+1)-1 = 2n+1$. Hence $$S(n+1) = \sum_{k=1}^{n+1} (2k-1) = \left( \sum_{k=1}^{n} (2k-1) \right) + (2n+1) = S(n) + (2n+1).$$ This is the one-step telescoping relation between consecutive partial sums; see \cite{AC24}.

intuition

Passing from $S(n)$ to $S(n+1)$ just appends the next odd number, $2n+1$. This single-step recurrence is the only fact about the sums we will need.

Ships withdanus

Danus orchestrates mathematical reasoning agents with fact-graph memory. A main agent (Claude Code) steers a swarm of autonomous codex workers that prove; a cold-start verifier is the sole authority on correctness: a result becomes real only once it passes.

Get the whole plugin

Other agents on danus.