login
A115090
a(n) = A115074(n) - A117183(n).
3
0, 0, 0, 1, 0, 1, 3, 1, 0, 0, 5, 0, 1, 3, 9, 2, 1, 0, 3, 11, 1, 5, 3, 4, 0, 15, 1, 2, 17, 3, 0, 5, 9, 3, 21, 1, 5, 8, 3, 11, 1, 5, 27, 10, 3, 0, 29, 0, 5, 0, 9, 2, 15, 5, 1, 4, 35, 3, 17, 14, 11, 3, 1, 39, 5, 0, 16, 41, 2, 9, 3, 21, 45, 4, 1, 5, 9, 3, 15, 20, 11, 51, 1, 9, 5, 2, 17, 27, 11, 57, 3, 9, 0
OFFSET
1,7
COMMENTS
The union of A115090 is the complement of A007921: numbers that are not the difference of two primes. - Robert G. Wilson v, Mar 09 2006
LINKS
FORMULA
a(n) = A046665(A013929(n)). - Amiram Eldar, Jan 06 2024
EXAMPLE
12, the 4th nonsquarefree positive integer, is 2^2 * 3. 3 is the largest prime dividing 12. 2 is the smallest prime dividing 12. So a(4) = 3 - 2 = 1.
MATHEMATICA
(Max@# - Min@#) & /@ (First /@ FactorInteger@# & /@ Select[ Range@243, !SquareFreeQ@# &]) (* Robert G. Wilson v, Mar 09 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 01 2006
EXTENSIONS
More terms from Robert G. Wilson v, Mar 09 2006
STATUS
approved