{"id":37729500,"url":"https://github.com/edelveart/figuratenum","last_synced_at":"2026-01-16T13:47:47.440Z","repository":{"id":247324060,"uuid":"825541958","full_name":"edelveart/figuratenum","owner":"edelveart","description":"Generates 230+ figurate number sequences across multiple dimensions in Python. Based on Figurate Numbers (2012) by Elena Deza and Michel Deza.","archived":false,"fork":false,"pushed_at":"2026-01-14T23:23:32.000Z","size":927,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T03:00:43.151Z","etag":null,"topics":["figurate-numbers","figuratenum","generators","geometry","infinite-generation","infinite-sequences","number-sequences","number-theory","oeis","plots-in-python","python","visualization"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/figuratenum/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edelveart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-08T03:34:29.000Z","updated_at":"2026-01-14T23:23:53.000Z","dependencies_parsed_at":"2025-04-01T06:24:07.599Z","dependency_job_id":"1e6b785e-211a-4279-ab5c-52d3f0949467","html_url":"https://github.com/edelveart/figuratenum","commit_stats":null,"previous_names":["edelveart/figurate_numbers","edelveart/figuratenum"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/edelveart/figuratenum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edelveart%2Ffiguratenum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edelveart%2Ffiguratenum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edelveart%2Ffiguratenum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edelveart%2Ffiguratenum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edelveart","download_url":"https://codeload.github.com/edelveart/figuratenum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edelveart%2Ffiguratenum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["figurate-numbers","figuratenum","generators","geometry","infinite-generation","infinite-sequences","number-sequences","number-theory","oeis","plots-in-python","python","visualization"],"created_at":"2026-01-16T13:47:46.666Z","updated_at":"2026-01-16T13:47:47.432Z","avatar_url":"https://github.com/edelveart.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e FigurateNum \u003c/h1\u003e\n\n**FigurateNum** is a collection of **235 figurate number generators** based on the book [Figurate Numbers](https://books.google.com.pe/books/about/Figurate.html?id=cDxYdstLPz4C\u0026redir_esc=y) by Michel Deza and Elena Deza, published in 2012.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/v/figuratenum\" alt=\"PyPI - Version\"\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/wheel/figuratenum\" alt=\"PyPI - Wheel\"\u003e\n  \u003cimg alt=\"Pepy Total Downloads\" src=\"https://img.shields.io/pepy/dt/figuratenum\"\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/status/figuratenum\" alt=\"PyPI - Status\"\u003e\n  \u003ca href=\"https://doi.org/10.5281/zenodo.18250313\"\u003e\u003cimg src=\"https://zenodo.org/badge/825541958.svg\" alt=\"DOI\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/edelveart/figuratenum\" alt=\"GitHub License\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/edelveart/figuratenum/tests.yml\" alt=\"GitHub Actions Workflow Status\" \u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/edelveart/figuratenum/main/figuratenum.png\" width=\"400\"\u003e\n\u003c/p\u003e\n\n## What is the purpose of FigurateNum?\n\n**FigurateNum** helps discover patterns in figurate number sequences and supports numerical computation in mathematics-related projects. It integrates with other tools for visualizing geometric structures and serves as a companion to the book.\n\n\n\n### How to install?\n\n```bash\npip install figuratenum\n```\n\n### Optional: Graphical Visualization (v2.1.0)\n\nTo enable 2D visualizations via the `FigurateViz` class (requires `numpy` and `matplotlib`), install the optional dependencies:\n\n```bash\npip install figuratenum[figurate-viz]\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/edelveart/figuratenum/main/docs/images/centered-hexagonal-pyramidal.svg\" width=\"300\" alt=\"Centered Hexagonal Pyramidal\"\u003e\n  \u003cp align=\"center\"\u003e\u003cem\u003eCentered Hexagonal Pyramidal\u003c/em\u003e\u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/edelveart/figuratenum/main/docs/images/centered-decagonal-pyramidal.svg\" width=\"300\" alt=\"Centered Decagonal Pyramidal\"\u003e\n  \u003cp align=\"center\"\u003e\u003cem\u003eCentered Decagonal Pyramidal\u003c/em\u003e\u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/edelveart/figuratenum/main/docs/images/five-dimensional-hypercube.svg\" width=\"300\" alt=\"Five-dimensional Hypercube\"\u003e\n  \u003cp align=\"center\"\u003e\u003cem\u003e5D Hypercube\u003c/em\u003e\u003c/p\u003e\n\u003c/p\u003e\n\n\n### Features\n\nThe main class, `FigurateNum`, provides access to all figurate number sequences across different **dimensions**, while dedicated classes let you work with each dimension separately:\n\n- 79 Plane figurate numbers → `PlaneFigurateNum` class — [Explore on GitHub](https://github.com/edelveart/figuratenum#plane-figurate-numbers)\n- 86 Space figurate numbers → `SpaceFigurateNum` class — [Explore on GitHub](https://github.com/edelveart/figuratenum#space-figurate-numbers)\n- 68 Multidimensional figurate numbers → `MultidimensionalFigurateNum` class — [Explore on GitHub](https://github.com/edelveart/figuratenum#multidimensional-figurate-numbers)\n- 2 Zoo figurate numbers → `ZooFigurateNum` class — [Explore on GitHub](https://github.com/edelveart/figuratenum#zoo-figurate-numbers)\n\n### FigurateViz Visualization\n\n- Gaussian plots (2D) in polar coordinates with customizable colors, visibility options, and export capabilities.\n- Seamless integration with any figurate number sequence (`list[int]` or `tuple[int, ...]`).\n\n---\n\n## How to use?\n\n### 1. Import and generate sequences with `FigurateNum` and related classes\n\n```python\nfrom figuratenum import FigurateNum, MultidimensionalFigurateNum\n\n# 1. General use: generate any figurate sequence via FigurateNum\nseq = FigurateNum()\nhyperdodecahedral_gen = seq.hyperdodecahedral()\nprint([next(hyperdodecahedral_gen) for _ in range(4)])\n# Output: [1, 600, 4983, 19468]\n\n# 2. Specialized classes: PlaneFigurateNum, SpaceFigurateNum,\n#    MultidimensionalFigurateNum, ZooFigurateNum\nmulti = MultidimensionalFigurateNum()\nhypertetrahedron_gen = multi.k_dimensional_centered_hypertetrahedron(21)\nprint([next(hypertetrahedron_gen) for _ in range(12)])\n# Output: [1, 23, 276, 2300, 14950, 80730, 376740,\n#          1560780, 5852925, 20160075, 64512240, 193536720]\n```\n\n###  2. Using `FigurateViz` to visualize and export\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/edelveart/figuratenum/main/docs/images/five-dimensional-hyperoctahedron.svg\" width=\"300\" alt=\"Example of Gaussian Graph Visualization\"\u003e\n  \u003cp align=\"center\"\u003e\u003cem\u003e5D Hyperoctahedron\u003c/em\u003e\u003c/p\u003e\n\u003c/p\u003e\n\n```python\nfrom figuratenum import FigurateNum as fgn\nfrom figuratenum.figurate_viz.FigurateViz import FigurateViz\n\n# Generate figurate numbers\nseq_loop = fgn()\ngen = seq_loop.five_dimensional_hyperoctahedron()\nfiguratenum_seq = [next(gen) for _ in range(704)]\n\n# Create and draw the Gaussian plot\nviz = FigurateViz(figuratenum_seq, figsize=(6, 6))\nviz.gaussian_plot(\n    circ_color=\"m\", bg_color=\"k\", num_text=False,\n    num_color=\"g\", ext_circle=True, rotate=-1\n).draw()\n\n# Export plots as .svg, .pdf, .png (matplotlib compatible),\n# with options e.g., dpi, transparent, bbox_inches, pad_inches, etc.\nviz.export_plot(\n    \"figure1.svg\", circ_color=\"m\",\n    transparent=True, rotate=-1\n)\n```\n\n### 3. Get sequence values easily with `NumCollector`\n\n```python\nfrom figuratenum import NumCollector as nc, FigurateNum\n\ngen = FigurateNum().pentatope()\nprint(nc.take_to_tuple(gen, 10))  # first 10 values as tuple\n# Output: (1, 5, 15, 35, 70, 126, 210, 330, 495, 715)\n\n# Available methods:\n# - take(n)               : first n values as iterator\n# - take_to_list(stop, start=0, step=1)\n# - take_to_tuple(stop, start=0, step=1)\n# - take_to_array(stop, start=0, step=1)\n# - pick(n)               : nth value\n```\n\n### Version History\n\u003e 🚨 Version **2.0.0** includes **renamed methods and changes in class usage**. These changes are **incompatible with previous versions**. Please review the updated usage instructions below to adapt your code to the new structure.\n\n### Additional Resources\n\n- [PDF Cheatsheet with LaTeX commands and examples](https://edelveart.github.io/resources-files/cheatsheet/figuratenum/figuratenum-python-cheatsheet.pdf).\n- [Errata *Figurate Numbers (2012)*](https://edelveart.github.io/resources-files/errata-figuratenum.pdf).\n\n---\n\n## What Figurate Number Sequences are Implemented?\n\n### Plane Figurate Numbers\n\n\u003cdetails\u003e\n\u003csummary\u003eShow 79 sequences of the \u003ccode\u003ePlaneFigurateNum\u003c/code\u003e class\u003c/summary\u003e\n\n1. `polygonal`\n2. `triangular`\n3. `square`\n4. `pentagonal`\n5. `hexagonal`\n6. `heptagonal`\n7. `octagonal`\n8. `nonagonal`\n9.  `decagonal`\n10. `hendecagonal`\n11. `dodecagonal`\n12. `tridecagonal`\n13. `tetradecagonal`\n14. `pentadecagonal`\n15. `hexadecagonal`\n16. `heptadecagonal`\n17. `octadecagonal`\n18. `nonadecagonal`\n19. `icosagonal`\n20. `icosihenagonal`\n21. `icosidigonal`\n22. `icositrigonal`\n23. `icositetragonal`\n24. `icosipentagonal`\n25. `icosihexagonal`\n26. `icosiheptagonal`\n27. `icosioctagonal`\n28. `icosinonagonal`\n29. `triacontagonal`\n30. `centered_triangular`\n31. `centered_square` = `diamond`\n32. `centered_pentagonal`\n33. `centered_hexagonal`\n34. `centered_heptagonal`\n35. `centered_octagonal`\n36. `centered_nonagonal`\n37. `centered_decagonal`\n38. `centered_hendecagonal`\n39. `centered_dodecagonal` = `star`\n40. `centered_tridecagonal`\n41. `centered_tetradecagonal`\n42. `centered_pentadecagonal`\n43. `centered_hexadecagonal`\n44. `centered_heptadecagonal`\n45. `centered_octadecagonal`\n46. `centered_nonadecagonal`\n47. `centered_icosagonal`\n48. `centered_icosihenagonal`\n49. `centered_icosidigonal`\n50. `centered_icositrigonal`\n51. `centered_icositetragonal`\n52. `centered_icosipentagonal`\n53. `centered_icosihexagonal`\n54. `centered_icosiheptagonal`\n55. `centered_icosioctagonal`\n56. `centered_icosinonagonal`\n57. `centered_triacontagonal`\n58. `centered_mgonal(m)`\n59. `pronic` = `heteromecic = oblong`\n60. `polite`\n61. `impolite`\n62. `cross`\n63. `aztec_diamond`\n64. `polygram(m)` = `centered_star_polygonal(m)`\n65. `pentagram`\n66. `gnomic`\n67. `truncated_triangular`\n68. `truncated_square`\n69. `truncated_pronic`\n70. `truncated_centered_pol(m)` = `truncated_centered_mgonal(m)`\n71. `truncated_centered_triangular`\n72. `truncated_centered_square`\n73. `truncated_centered_pentagonal`\n74. `truncated_centered_hexagonal` = `truncated_hex`\n75. `generalized_mgonal(m, start_numb)`\n76. `generalized_pentagonal(start_numb)`\n77. `generalized_hexagonal(start_numb)`\n78. `generalized_centered_pol(m, start_numb)`\n79. `generalized_pronic(start_numb)`\n\u003c/details\u003e\n\n### Space Figurate Numbers\n\n\u003cdetails\u003e\n\u003csummary\u003eShow 86 sequences of the \u003ccode\u003eSpaceFigurateNum\u003c/code\u003e class\u003c/summary\u003e\n\n1. `m_pyramidal(m)`\n2. `triangular_pyramidal`\n3. `square_pyramidal` = `pyramidal`\n4. `pentagonal_pyramidal`\n5. `hexagonal_pyramidal`\n6. `heptagonal_pyramidal`\n7. `octagonal_pyramidal`\n8. `nonagonal_pyramidal`\n9. `decagonal_pyramidal`\n10. `hendecagonal_pyramidal`\n11. `dodecagonal_pyramidal`\n12. `tridecagonal_pyramidal`\n13. `tetradecagonal_pyramidal`\n14. `pentadecagonal_pyramidal`\n15. `hexadecagonal_pyramidal`\n16. `heptadecagonal_pyramidal`\n17. `octadecagonal_pyramidal`\n18. `nonadecagonal_pyramidal`\n19. `icosagonal_pyramidal`\n20. `icosihenagonal_pyramidal`\n21. `icosidigonal_pyramidal`\n22. `icositrigonal_pyramidal`\n23. `icositetragonal_pyramidal`\n24. `icosipentagonal_pyramidal`\n25. `icosihexagonal_pyramidal`\n26. `icosiheptagonal_pyramidal`\n27. `icosioctagonal_pyramidal`\n28. `icosinonagonal_pyramidal`\n29. `triacontagonal_pyramidal`\n30. `triangular_tetrahedral[finite]`\n31. `triangular_square_pyramidal[finite]`\n32. `square_tetrahedral[finite]`\n33. `square_square_pyramidal[finite]`\n34. `tetrahedral_square_pyramidal[finite]`\n35. `cubic`\n36. `tetrahedral`\n37. `octahedral`\n38. `dodecahedral`\n39. `icosahedral`\n40. `truncated_tetrahedral`\n41. `truncated_cubic`\n42. `truncated_octahedral`\n43. `stella_octangula`\n44. `centered_cube`\n45. `rhombic_dodecahedral`\n46. `hauy_rhombic_dodecahedral`\n47. `centered_tetrahedron` = `centered_tetrahedral`\n48. `centered_square_pyramid` = `centered_pyramid`\n49. `centered_mgonal_pyramid(m)`\n50. `centered_pentagonal_pyramid`\n51. `centered_hexagonal_pyramid`\n52. `centered_heptagonal_pyramid`\n53. `centered_octagonal_pyramid`\n54. `centered_octahedron`\n55. `centered_icosahedron` = `centered_cuboctahedron`\n56. `centered_dodecahedron`\n57. `centered_truncated_tetrahedron`\n58. `centered_truncated_cube`\n59. `centered_truncated_octahedron`\n60. `centered_mgonal_pyramidal(m)`\n61. `centered_triangular_pyramidal`\n62. `centered_square_pyramidal`\n63. `centered_pentagonal_pyramidal`\n64. `centered_heptagonal_pyramidal`\n65. `centered_octagonal_pyramidal`\n66. `centered_nonagonal_pyramidal`\n67. `centered_decagonal_pyramidal`\n68. `centered_hendecagonal_pyramidal`\n69. `centered_dodecagonal_pyramidal`\n70. `centered_hexagonal_pyramidal` = `hex_pyramidal`\n71. `hexagonal_prism`\n72. `mgonal_prism(m)`\n73. `generalized_mgonal_pyramidal(m, start_num)`\n74. `generalized_pentagonal_pyramidal(start_num)`\n75. `generalized_hexagonal_pyramidal(start_num)`\n76. `generalized_cubic(start_num)`\n77. `generalized_octahedral(start_num)`\n78. `generalized_icosahedral(start_num)`\n79. `generalized_dodecahedral(start_num)`\n80. `generalized_centered_cube(start_num)`\n81. `generalized_centered_tetrahedron(start_num)`\n82. `generalized_centered_square_pyramid(start_num)`\n83. `generalized_rhombic_dodecahedral(start_num)`\n84. `generalized_centered_mgonal_pyramidal(m, start_num)`\n85. `generalized_mgonal_prism(m, start_num)`\n86. `generalized_hexagonal_prism(start_num)`\n\u003c/details\u003e\n\n### Multidimensional Figurate Numbers\n\n\u003cdetails\u003e\n\u003csummary\u003eShow 68 sequences of the \u003ccode\u003eMultidimensionalFigurateNum\u003c/code\u003e class\u003c/summary\u003e\n\n1. `k_dimensional_hypertetrahedron(k)` = `k_hypertetrahedron(k)` = `regular_k_polytopic(k)` = `figurate_of_order_k(k)`\n2. `five_dimensional_hypertetrahedron`\n3. `six_dimensional_hypertetrahedron`\n4. `k_dimensional_hypercube(k)` = `k_hypercube(k)`\n5. `five_dimensional_hypercube`\n6. `six_dimensional_hypercube`\n7. `hypertetrahedral` = `pentachoron` = `pentatope` = `triangulotriangular` = `cell_5`\n8. `hypercube` = `octachoron` = `tesseract` = `biquadratic` = `cell_8`\n9. `hyperoctahedral` = `hexadecachoron` = `four_cross_polytope` = `four_orthoplex` = `cell_16`\n10. `hypericosahedral` = `hexacosichoron` = `polytetrahedron` = `tetraplex` = `cell_600`\n11. `hyperdodecahedral` = `hecatonicosachoron` = `dodecaplex` = `polydodecahedron` = `cell_120`\n12. `polyoctahedral` = `icositetrachoron` = `octaplex` = `hyperdiamond` = `cell_24`\n13. `four_dimensional_hyperoctahedron`\n14. `five_dimensional_hyperoctahedron`\n15. `six_dimensional_hyperoctahedron`\n16. `seven_dimensional_hyperoctahedron`\n17. `eight_dimensional_hyperoctahedron`\n18. `nine_dimensional_hyperoctahedron`\n19. `ten_dimensional_hyperoctahedron`\n20. `k_dimensional_hyperoctahedron(k)` = `k_cross_polytope(k)`\n21. `four_dimensional_mgonal_pyramidal(m)` = `mgonal_pyramidal_of_the_second_order(m)`\n22. `four_dimensional_square_pyramidal`\n23. `four_dimensional_pentagonal_pyramidal`\n24. `four_dimensional_hexagonal_pyramidal`\n25. `four_dimensional_heptagonal_pyramidal`\n26. `four_dimensional_octagonal_pyramidal`\n27. `four_dimensional_nonagonal_pyramidal`\n28. `four_dimensional_decagonal_pyramidal`\n29. `four_dimensional_hendecagonal_pyramidal`\n30. `four_dimensional_dodecagonal_pyramidal`\n31. `k_dimensional_mgonal_pyramidal(k, m)` = `mgonal_pyramidal_of_the_k_2_th_order(k, m)`\n32. `five_dimensional_mgonal_pyramidal(m)`\n33. `five_dimensional_square_pyramidal`\n34. `five_dimensional_pentagonal_pyramidal`\n35. `five_dimensional_hexagonal_pyramidal`\n36. `five_dimensional_heptagonal_pyramidal`\n37. `five_dimensional_octagonal_pyramidal`\n38. `six_dimensional_mgonal_pyramidal(m)`\n39. `six_dimensional_square_pyramidal`\n40. `six_dimensional_pentagonal_pyramidal`\n41. `six_dimensional_hexagonal_pyramidal`\n42. `six_dimensional_heptagonal_pyramidal`\n43. `six_dimensional_octagonal_pyramidal`\n44. `centered_biquadratic`\n45. `k_dimensional_centered_hypercube(k)`\n46. `five_dimensional_centered_hypercube`\n47. `six_dimensional_centered_hypercube`\n48. `centered_polytope`\n49. `k_dimensional_centered_hypertetrahedron(k)`\n50. `five_dimensional_centered_hypertetrahedron`\n51. `six_dimensional_centered_hypertetrahedron`\n52. `centered_hyperoctahedral` = `orthoplex`\n53. `nexus(k)`\n54. `k_dimensional_centered_hyperoctahedron(k)`\n55. `five_dimensional_centered_hyperoctahedron`\n56. `six_dimensional_centered_hyperoctahedron`\n57. `generalized_pentatope(start_num = 0)`\n58. `generalized_k_dimensional_hypertetrahedron(k = 5, start_num = 0)`\n59. `generalized_biquadratic(start_num = 0)`\n60. `generalized_k_dimensional_hypercube(k = 5, start_num = 0)`\n61. `generalized_hyperoctahedral(start_num = 0)`\n62. `generalized_k_dimensional_hyperoctahedron(k = 5, start_num = 0)`\n63. `generalized_hyperdodecahedral(start_num = 0)`\n64. `generalized_hypericosahedral(start_num = 0)`\n65. `generalized_polyoctahedral(start_num = 0)`\n66. `generalized_k_dimensional_mgonal_pyramidal(k, m, start_num = 0)`\n67. `generalized_k_dimensional_centered_hypercube(k, start_num = 0)`\n68. `generalized_nexus(k, start_num = 0)`\n\u003c/details\u003e\n\n### Zoo Figurate Numbers\n\n\u003cdetails\u003e\n\u003csummary\u003eShow 2 sequences of the \u003ccode\u003eZooFigurateNum\u003c/code\u003e class\u003c/summary\u003e\n\n1. `cuban_prime`\n2. `pell`\n\u003c/details\u003e\n\n---\n\n### Note for Users\n\nBy default, `FigurateNum` uses optimized, mathematically equivalent versions that are significantly faster, especially for multidimensional figurate numbers. Incremental computation and precomputed values allow step-by-step results without recalculating everything. The original formulas from the book are available via the `*_from_book()` methods for reference and testing.\n\n## How to contribute?\n\nFigurateNum is currently under development, and we warmly invite your contributions. Just **fork** the project and then submit a **pull request**:\n\n- Sequences from Chapters 1, 2, and 3 of the book\n- New sequences not included in the book: If you have new sequences, please provide the source.\n- Tests, documentation and errata (located at `docs/errata/errata-figuratenum.tex`).\n\nWhen making commits, please use the following conventional prefixes to indicate the nature of the changes: `feat`, `refactor`, `fix`, `docs`, and `test`.\n\n## Citation\n\nIf you use FigurateNum in your research, thesis, or project, please cite it:\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.18250313.svg)](https://doi.org/10.5281/zenodo.18250313)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedelveart%2Ffiguratenum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedelveart%2Ffiguratenum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedelveart%2Ffiguratenum/lists"}