OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
Ed Pegg, Jr., Math. Puzzles (Material added Dec 11 2001)
MAPLE
A066159:=n->`if`((2*n-1)!+1 mod (4*n-1) = 0, n, NULL): seq(A066159(n), n=1..500); # Wesley Ivan Hurt, Dec 01 2015
MATHEMATICA
Select[Range@ 360, Divisible[(2 # - 1)! + 1, 4 # - 1] &] (* Michael De Vlieger, Dec 02 2015 *)
PROG
(PARI) isok(k) = { ((2*k - 1)! + 1) % (4*k - 1) == 0 } \\ Harry J. Smith, Feb 03 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 13 2001
EXTENSIONS
Reference into the Math Puzzles made more specific by R. J. Mathar, Feb 11 2010
STATUS
approved