Math::N...atalogue(3)

πŸ“¦
version 75 Β· 2 versions
, in fedora 43

πŸ’– Math::NumSeq::OEIS::Catalogue β€” the A-number guest list πŸ’–

okay bestie so this is the Perl manual page for Math::NumSeq::OEIS::Catalogue, section 3 of the manual (the library-functions corner of the man cave, iykyk). Sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

Math::NumSeq::OEIS::Catalogue β€” literally just the list of available A-numbers πŸ‘‘


🌸 SYNOPSIS 🌸

like, here's the whole vibe in three lines:

use Math::NumSeq::OEIS::Catalogue;
my $anum = Math::NumSeq::OEIS::Catalogue->anum_first;
my $anum_next = Math::NumSeq::OEIS::Catalogue->anum_after($anum);

no cap, that's it. that's the whole thing. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

So this module is the catalogue β€” the master list πŸ“œ β€” of A-numbers that are available for Math::NumSeq::OEIS. It's giving guest list at the door of the club.

And it's not just one source, bestie. The catalogue includes:

  • the A-numbers available from NumSeq module code, and
  • the A-numbers available from files. πŸ—‚οΈ

A-numbers get handled as strings, like "A000032". Six digits is the usual situation β€” that's the standard fit πŸ’… β€” though rumour has it πŸ‘€ the plan is for seven digits like "A1000000" once the millionth sequence gets reached. iconic milestone behaviour, fr fr.

Also!! Add-on distributions can extend the catalogue by creating a plugin module. The details live in Math::NumSeq::OEIS::Catalogue::Plugin β€” go read that if you wanna be an extender. 🌈


πŸŽ€ FUNCTIONS πŸŽ€

  • $anum = Math::NumSeq::OEIS::Catalogue->anum_first()
  • $anum = Math::NumSeq::OEIS::Catalogue->anum_last()

These two hand you the first, or the last, A-number that's available. Bookends. Alpha and omega. Periodt. ⭐

  • $anum = Math::NumSeq::OEIS::Catalogue->anum_before ($anum)
  • $anum = Math::NumSeq::OEIS::Catalogue->anum_after ($anum)

These give you the A-number before, or after, whatever $anum you passed in. And if there are no more A-numbers in that particular direction? You get undef back. That's the end of the road, bestie, no more entries in that direction. 😭


πŸ‘‘ SEE ALSO πŸ‘‘

Math::NumSeq::OEIS


🧚 HOME PAGE 🧚

http://user42.tuxfamily.org/math-numseq/index.html


πŸ’œ LICENSE πŸ’œ

Copyright 2010, 2011, 2012, 2013, 2014, 2016, 2019, 2020 Kevin Ryde

Math-NumSeq is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Math-NumSeq is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Math-NumSeq. If not, see http://www.gnu.org/licenses/.


okay real talk, that license section is doing the most, but like β€” free software, GPL v3-or-later, no warranty, that's the whole deal. slay. πŸ’…

and that's the page, bestie!! this was perl v5.42.0, dated 2025-07-25, from the Math::N...atalogue(3) man page β€” mwah, thanks for reading, ily, go forth and enumerate πŸŒŸπŸ’–

πŸ“¦ where this page comes from