OFFSET
0,2
COMMENTS
It is noted that when the modulus is not prime that a 0 may appear in the interior of the sequence. example for mod (15). 0 2 6 12 5 0 12 11.
FORMULA
Prn(i) -= r(i) mod (z) where Prn(i) is the i-th pronic, -= is the congruence sign, r(i) is the i-th residue and mod (z) is the modulus used.
EXAMPLE
r(5) = 7 mod (13).
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Stuart M. Ellerstein (ellerstein(AT)aol.com), Nov 17 2005
STATUS
approved