|
|
A133369
|
|
a(n+1) = (3*a(n) + 2*a(n-1)) mod 37; a(0) = 0, a(1) = 1.
|
|
1
|
|
|
0, 1, 3, 11, 2, 28, 14, 24, 26, 15, 23, 25, 10, 6, 1, 15, 10, 23, 15, 17, 7, 18, 31, 18, 5, 14, 15, 36, 27, 5, 32, 32, 12, 26, 28, 25, 20, 36, 0, 35, 31, 15, 33, 18, 9, 26, 22, 7, 28, 24, 17, 25, 35, 7, 17, 28, 7, 3, 23, 1, 12, 1, 27, 9, 7, 2, 20, 27, 10, 10, 13, 22, 18, 24, 34, 2, 0, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Has period 1368 = (37 + 1) * (37 - 1), indicating that all possible consecutive pairs other than 0,0 appear.
|
|
LINKS
|
|
|
MATHEMATICA
|
RecurrenceTable[{a[0]==0, a[1]==1, a[n]==Mod[3a[n-1]+2a[n-2], 37]}, a, {n, 80}] (* Harvey P. Dale, Apr 11 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|