1,1

a(n) = n if n is prime.

Alois P. Heinz, Table of n, a(n) for n = 1..1000

a(1) = 6 because 6 = 2*3 and 3 - 2 = 1.

Cf. A001221.

Sequence in context: A201280 A248274 A267568 * A086048 A239578 A248273

Adjacent sequences: A182008 A182009 A182010 * A182012 A182013 A182014

nonn

Michel Lagneau, Apr 09 2012

approved