OFFSET
1,1
COMMENTS
The given terms of the sequence correspond to n=2, 3, 7, 8, 16, 18, 20 respectively. There are no other terms for n=21..100000. - Emeric Deutsch, Aug 27 2007
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..14
EXAMPLE
MAPLE
a:=proc(n) if isprime(floor(((1/2)*Pi)^n))=true then floor(((1/2)*Pi)^n) else end if end proc: seq(a(n), n=1..100); # Emeric Deutsch, Aug 27 2007
MATHEMATICA
lst={}; Do[If[PrimeQ[p=Floor[(Pi/2)^n]], AppendTo[lst, p]], {n, 600}
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 01 2005
EXTENSIONS
a(8)-a(10) from Vincenzo Librandi, Dec 09 2011
STATUS
approved