Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

Generate Recamán Sequence

Generate the Recamán sequence (OEIS A005132) — subtract n if positive and new, else add n.

What is the Recamán Sequence?

Pick a term count and generate the Recamán sequence — the one that subtracts n when the jump lands on a positive new number, otherwise adds n. Looks chaotic, rule is trivial. And everything runs in your browser. Nothing gets uploaded.

Related Tools