Skip to content

A114112

OEIS Lean4

a(1)=1, a(2)=2; thereafter a(n) = n+1 if n odd, n-1 if n even.

offset: 1
codomain: ℕ
n123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A114112124365871091211141316151817201922212423262528273029323134333635383740394241444346454847504952515453565558576059626164636665686770697271747376757877807982818483868588879089929194939695989710099