Thanks to everyone who made a donation during our annual appeal! To see the list of donors, or make a donation, see the OEIS Foundation home page.
1,3
Same as subtracting the index (n) from the output (a(n)) in A269020.
Table of n, a(n) for n=1..86.
a(n) = either a(n-1) or a(n-1)+1.
When a(n) = a(n-1)+1, a(n) = A269023(a(n)) - n + 1.
a(20)=4 because A269020(20) = 24, and 24-20=4.
a(5)=2, a(6)=3 and A269023(3)=8, so a(6) = 8-6+1 = 3.
Cf. A269020, A269023.
Sequence in context: A156752 A086673 A101787 * A244160 A064099 A134021
Adjacent sequences: A269021 A269022 A269023 * A269025 A269026 A269027
nonn
Bob Selcoe, Feb 18 2016
approved