Skip to content

A175028

OEIS Lean4

a(n)=n+1 if n is prime, otherwise a(n)=n-1.

offset: 1
codomain: ℕ
n12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
A1750280343658789121114131415181720192021242324252627302932313233343538373839424144434445484748495051545354555657605962616263646568676869727174