OFFSET
1,2
COMMENTS
a(n) is the smallest number for which A281071(a(n)) is greater than or equal to n.
LINKS
Martin Janecke, Table of n, a(n) for n = 1..88
EXAMPLE
a(3) = 4 because
1 mod 2 = 1 where r > 0 and 2 - 1 is odd;
2 mod 3 = 2 where r > 0 and 3 - 2 is odd;
3 mod 2 = 1 where r > 0 and 2 - 1 is odd;
4 mod 1 = 0 where r = 0,
4 mod 2 = 0 where r = 0,
4 mod 3 = 1 where 3 - 1 is even.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Martin Janecke, Jan 14 2017
STATUS
approved