The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Math::NumSeq::FibbinaryBitCount -- number of bits in each fibbinary number

SYNOPSIS

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

DESCRIPTION

The number of 1 bits in the i'th fibbinary number.

FUNCTIONS

See "FUNCTIONS" in Math::NumSeq for the behaviour common to all path classes.

$seq = Math::NumSeq::FibbinaryBitCount->new (key=>value,...)

Create and return a new sequence object.

$value = $seq->ith($i)

Return the bit count of the $i'th fibbinary number.

$bool = $seq->pred($value)

Return true if $value occurs as a bit count, which simply means $value >= 0.

SEE ALSO

Math::NumSeq, Math::NumSeq::Fibbinary