Math::N...mulative(3)

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

πŸ’– Math::NumSeq::TotientCumulative(3) πŸ’–

okay bestie, welcome to the user contributed perl documentation for Math::NumSeq::TotientCumulative ✨ this is the perl manual page, and yes the header is a whole vibe, let's get into it 🌸


πŸŽ€ NAME πŸŽ€

Math::NumSeq::TotientCumulative β€” cumulative totients πŸ’…


✨ SYNOPSIS ✨

use Math::NumSeq::TotientCumulative;
my $seq = Math::NumSeq::TotientCumulative->new;
my ($i, $value) = $seq->next;

like, that's the whole entrance. three lines and she's already serving πŸ”₯


πŸ¦‹ DESCRIPTION πŸ¦‹

It's the cumulative sum of totient(1) to totient(i). That's it, that's the girl. She stacks 'em up, one totient at a time, no cap πŸ‘‘


πŸ’œ FUNCTIONS πŸ’œ

Go read "FUNCTIONS" in Math::NumSeq for the behaviour that every sequence class shares β€” that's the group chat everyone's in, this one just added herself 🫢

  • $seq = Math::NumSeq::TotientCumulative->new () β€” spins up a brand new sequence object and hands her to you. main character creation moment ✨

🌈 Random Access 🌈

  • $value = $seq->ith($i) β€” returns totient(i). yep. that's what it says. exactly that 😌
  • $bool = $seq->pred($value) β€” returns true if $value actually shows up in the sequence, aka it's a sum of totient(1) to totient(i) for some i. so it's like the bouncer at the door checking if you're on the list πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

  • Math::NumSeq
  • Math::NumSeq::Totient

the extended universe, fr fr πŸ“


🌸 HOME PAGE 🌸

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

go visit her house πŸ πŸ’–


⭐ LICENSE ⭐

Copyright 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. 🚨 (that's the dramatic one, don't skip it)

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

ngl if you didn't get your copy of the GPL, that's your sign to go get it. the link is right there bestie πŸ”—

okay that's the whole page, love u, bye πŸ’–βœ¨ this was rendered by perl v5.42.0 on 2025-07-25, and the page itself is Math::NumSeq::TotientCumulative(3) β€” periodt πŸ’…

πŸ“¦ where this page comes from