login
A131757
Period 10: repeat 3, 3, 3, -7, 3, 3, -7, 3, 3, -7.
0
3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3, 3, 3, -7, 3, 3, -7, 3, 3, -7, 3
OFFSET
0,1
MATHEMATICA
PadRight[{}, 120, {3, 3, 3, -7, 3, 3, -7, 3, 3, -7}] (* Harvey P. Dale, Aug 07 2018 *)
PROG
(PARI) a(n)=[3, 3, 3, -7, 3, 3, -7, 3, 3, -7][n%10+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
Sequence in context: A061021 A126608 A088195 * A214834 A291767 A135087
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Oct 04 2007
STATUS
approved