OFFSET
0,2
COMMENTS
An example of a sequence which is both in arithmetic and geometric progression.
REFERENCES
E. Schmid, Problem 961, Math. Mag., 50 (No. 1, 1977), 52.
MATHEMATICA
PowerMod[11, Range[0, 120], 50] (* or *) PadRight[{}, 120, {1, 11, 21, 31, 41}] (* Harvey P. Dale, Aug 28 2017 *)
PROG
(PARI) a(n)=lift(Mod(11, 50)^n) \\ Charles R Greathouse IV, Mar 22 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 31 2005
STATUS
approved