intAtBasePower: Integer expansion of a power

Description Usage Arguments Value Examples

Description

Expansion of m^p in an integer base

Usage

1
intAtBasePower(m, p, base = 2L)

Arguments

m

the integer to be exponentiated

p

the integer exponent

base

the base of the expansion

Value

The expansion of m^p in a vector.

Examples

1
intAtBasePower(2, 5, base=3) == intAtBase(2^5, base=3)

stla/expansions documentation built on May 30, 2019, 5:46 p.m.