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
51120 skills20 agents

Claude Code

$ npx -y skills add frenzymath/Danus --agent claude-code

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.

@frenzymath
Ships withdanus

🚀✨ News: This branch is the version that solved YTD. 🎉 Danus orchestrates mathematical reasoning agents with fact-graph memory.

51112 skills20 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
511
Star history of frenzymath/Danus on GitHub, a chart by star-history.com

Other agents on danus.

main_agent

main_agent

Agent

The main agent is a Codex reasoning session running at `ultra` effort. It owns mathematical strategy and swarm coordination, but…

@frenzymath@frenzymathInstall Agent
verifier

verifier

Agent

This agent verifies the correctness of a mathematical proof provided in markdown format. It checks the logical flow, theorem…

@frenzymath@frenzymathInstall Agent
worker

worker

Agent

You are a Danus **worker**: a codex session that solves a research-level math problem by a mathematician-style iterative process,…

@frenzymath@frenzymathInstall Agent
REPORT_WRITER_PROMPT

REPORT_WRITER_PROMPT

Agent

You are the **report writer**. You produce a clean, human-facing mathematical progress report for a working mathematician — the…

@frenzymath@frenzymathInstall Agent
acknowledgement

acknowledgement

Agent

Generic, operator-configurable acknowledgement boilerplate added to a produced paper: an automated-system disclosure (on by…

@frenzymath@frenzymathInstall Agent

More agents from other plugins.

codemod-runner

codemod-runner

Agent

Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…

paperclip4d114k
@paperclipai@paperclipaiInstall Agent

Questions about fact_odd_recurrence.

Which coding agents can use fact_odd_recurrence?
fact_odd_recurrence installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.