OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
If 2n+1 is prime then a(2n+1) = 2n + 1.
MATHEMATICA
Table[(FactorInteger[2 n + 1][[1, 1]] + FactorInteger[2 n + 1][[-1, 1]])/2, {n, 75}] (* Michael De Vlieger, Mar 28 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 31 2003
STATUS
approved