OFFSET
1,2
EXAMPLE
There is one odd integer between the two 1s: this is the integer 3;
there are two odd integers between the two 2s: they are 3 and 1;
there are three odd integers between the two 3s: they are 1, 5 and 7; etc.
MATHEMATICA
lst={1}; k=2;
Do[While[FreeQ[lst, k]&&Count[lst[[First@@Position[lst, t]+1;; ]], a_/; OddQ@a]!=t, AppendTo[lst, k]; k++]; lst=AppendTo[lst, t], {t, 25}]; lst (* Giorgos Kalogeropoulos, Feb 28 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Angelini, Feb 12 2023
EXTENSIONS
More terms from Jinyuan Wang, Feb 14 2023
STATUS
approved