Skip to content

A080590

OEIS Lean4

a(1)=1; for n>1, a(n)=a(n-1)+3 if n is already in the sequence, a(n)=a(n-1)+4 otherwise.

offset: 1
codomain: ℕ
n123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A080590159131620242831353943465054576165697276808487919599102106110113117121125128132136140143147151155158162166169173177181184188192196199203207210214218222225229233237240244248252255259263266270274278281285289293296300304308311315319322326330334337341345349352356360364367371