OFFSET
1,2
EXAMPLE
For n=3, A006881(3) = 14 = 2*7, p=2, i=1, q=7, j=4; a(n) = 2^4-7^1 = 9.
MAPLE
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Apr 28 2010
EXTENSIONS
a(14) and a(15) corrected and sequence extended by R. J. Mathar, May 01 2010
Definition clarified by N. J. A. Sloane, Feb 16 2019
STATUS
approved