438269domain: NAppears in sequencesa(1) = 1. If a(n) is prime, a(n+1) = 2*a(n); otherwise, a(n+1) = 2*a(n) + 1.at n=18A125049