The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A197168 Number of 2 X 2 integer matrices with elements from {1,...,n} whose determinant is 2. 6
0, 0, 2, 6, 18, 30, 50, 70, 98, 118, 162, 198, 226, 270, 338, 366, 426, 486, 554, 622, 682, 726, 842, 926, 986, 1062, 1202, 1270, 1362, 1470, 1562, 1678, 1802, 1878, 2066, 2158, 2250, 2390, 2602, 2694, 2818, 2974, 3114, 3278, 3434, 3526, 3786, 3966, 4090, 4254, 4490 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
It is also the number of 2 X 2 integer matrices with elements from {1,...,n} whose determinant is -2.
LINKS
FORMULA
a(n) = A209973(n) - 4*n - 2 for n >= 2. - Chai Wah Wu, Nov 28 2016
MATHEMATICA
Table[cnt = 0; Do[If[a*d-b*c == 2, cnt++], {a, n}, {b, n}, {c, n}, {d, n}]; cnt, {n, 50}] (* T. D. Noe, Oct 11 2011 *)
CROSSREFS
Sequence in context: A066286 A324541 A351875 * A288815 A277200 A277324
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(0) added by Chai Wah Wu, Nov 27 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 06:57 EDT 2024. Contains 372538 sequences. (Running on oeis4.)