OFFSET
1,1
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..53
Peter Luschny, Die schwingende Fakultät und Orbitalsysteme, August 2011.
Peter Luschny, Swinging Primes.
EXAMPLE
Since 4$ = 6 the prime 5 is listed.
MAPLE
a := proc(n) select(isprime, map(x -> A056040(x)-1, [$1..n])); sort(%) end:
MATHEMATICA
Reap[Do[f = n!/Quotient[n, 2]!^2; If[PrimeQ[p = f - 1], Sow[p]], {n, 1, 70}]][[2, 1]] // Union (* Jean-François Alcover, Jun 28 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Jul 21 2009
EXTENSIONS
More terms from Jinyuan Wang, Mar 22 2020
STATUS
approved