OFFSET
1,2
COMMENTS
These are the numbers which can be a clue in a Tasquare puzzle.
Tasquare also known as Tasukuea.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
Cross+A, Tasquare rules
Nikoli, Tasukuea rules [broken link]
EXAMPLE
A 9 clue can be satisfied in multiple ways:
OOO OO OO
OOO OO9OO
OOO9 O
MAPLE
q:= proc(n) local i; for i to isqrt(n) do if ormap(issqr,
[n-i^2, n-i^2-1]) then return true fi od: false
end:
select(q, [$1..100])[]; # Alois P. Heinz, Apr 30 2022
MATHEMATICA
q[n_] := Module[{i}, For[i = 1, i <= Sqrt[n], i++, If[AnyTrue[ {n-i^2, n-i^2-1}, IntegerQ@Sqrt[#]&], Return[True]]]; False];
Select[Range[100], q] (* Jean-François Alcover, Dec 28 2022, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Fox, Apr 30 2022
STATUS
approved