A302495 a(n) is the least k such that k * A005277(n) is a term of A002202.
2, 2, 3, 5, 2, 5, 2, 2, 3, 2, 2, 3, 2, 2, 6, 3, 3, 2, 4, 2, 3, 3, 2, 6, 2, 3, 2, 3, 2, 3, 3, 3, 5, 2, 2, 3, 3, 3, 2, 3, 2, 4, 6, 3, 2, 2, 3, 2, 4, 3, 3, 2, 5, 2, 3, 2, 7, 2, 3, 2, 2, 3, 3, 4, 3, 3, 2, 2, 9, 2, 4, 2, 2, 2, 3, 2, 5, 2, 2, 3, 5, 6, 2, 12, 6, 2, 3, 3, 3, 3, 2, 3, 3, 2, 3, 2, 5, 3, 2, 3
Offset: 1
Keywords
Examples
a(1) = 2 because 2*A005277(1) = 2*14 = 28 is not a term of A005277. a(3) = 3 because 3*A005277(3) = 3*34 = 102 is not a term of A005277.
Programs
-
PARI
lista(nn) = {forstep(n=2, nn, 2, if (! istotient(n), my(k = 1); while (! istotient(k*n), k++); print1(k, ", ");););} \\ Michel Marcus, Jul 19 2018
Formula
Extensions
More terms from Michel Marcus, Jul 19 2018
Comments