OFFSET
1,1
EXAMPLE
a(1) = 2^(2*1-1) mod (2*1+1) = 2^1 mod 3 = 2.
MATHEMATICA
f[n_] := PowerMod[2, 2 n - 1, 2 n + 1]; Array[f, 70] (* Robert G. Wilson v, Jan 03 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jan 03 2011
STATUS
approved