login
A096015
a(n) = A096014(n) / 2.
2
1, 3, 3, 3, 5, 5, 7, 3, 3, 3, 11, 5, 13, 3, 3, 3, 17, 5, 19, 3, 3, 3, 23, 5, 5, 3, 3, 3, 29, 7, 31, 3, 3, 3, 5, 5, 37, 3, 3, 3, 41, 5, 43, 3, 3, 3, 47, 5, 7, 3, 3, 3, 53, 5, 5, 3, 3, 3, 59, 7, 61, 3, 3, 3, 5, 5, 67, 3, 3, 3, 71, 5, 73, 3, 3, 3, 7, 5, 79, 3, 3, 3, 83, 5, 5, 3, 3, 3, 89, 7, 7, 3, 3
OFFSET
1,2
COMMENTS
For n > 1, a(n) is the larger of the least prime dividing n and the least prime not dividing n. - Peter Munn, Feb 21 2024
FORMULA
a(n) = if n is odd then A020639(n) else A053669(n).
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 15 2004
STATUS
approved