Math::N...atalogue(3)
π 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
- fedora 43: perl-Math-NumSeq 75-11.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms