OFFSET
2,1
EXAMPLE
a(8) = 2 as prime(8) = 17 and 17-1 = 2^4.
a(10) = 7 as prime(10) = 29 and 29-1 =28 = 2*7^2.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Dec 26 2003
EXTENSIONS
More terms from Erich Friedman, Aug 08 2005
STATUS
approved