login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A247943 2-dimensional array T(n, k) listed by antidiagonals giving the number of acyclic paths in the graph G(n, k) whose vertices are the integer lattice points (p, q) with 0 <= p < n and 0 <= q < k and with an edge between v and w iff the line segment [v, w] contains no other integer lattice points. 1
0, 2, 2, 6, 60, 6, 12, 1058, 1058, 12, 20, 25080, 140240, 25080, 20, 30, 822594, 58673472, 58673472, 822594, 30, 42, 36195620, 28938943114, 490225231968, 28938943114, 36195620, 42, 56, 2069486450 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

There is an edge between v = (p, q) and w = (r, s) iff p - r and q - s are coprime.

G(3, 3) is used for Android screen lock security patterns (see StackExchange link).

The nonzero entries on the diagonal of this sequence comprise the row sums of A247944.

LINKS

Table of n, a(n) for n=1..30.

StackExchange, Combination of smartphones' pattern password, 2014

EXAMPLE

G(2,2) is the complete graph on 4 vertices, hence T(2, 2) = 4*3 + 4*3*2 + 4*3*2*1 = 60.

T(n, k) for n + k <= 8 is as follows:

.0........2...........6...........12..........20.......30..42

.2.......60........1058........25080......822594.36195620

.6.....1058......140240.....58673472.28938943114

12....25080....58673472.490225231968

20...822594.28938943114

30.36195620

42

CROSSREFS

Cf. A247944.

Sequence in context: A284707 A174589 A326942 * A329571 A270358 A156529

Adjacent sequences:  A247940 A247941 A247942 * A247944 A247945 A247946

KEYWORD

nonn,tabl

AUTHOR

Rob Arthan, Sep 27 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 03:31 EST 2020. Contains 338943 sequences. (Running on oeis4.)