login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Michael De Vlieger, Table of n, a(n) for n = 1..10000

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

Cf. A117183, A115074.

Sequence in context: A217334 A058865 A318502 * A112295 A318973 A110517

Adjacent sequences:  A115087 A115088 A115089 * A115091 A115092 A115093

KEYWORD

nonn

AUTHOR

Leroy Quet, Mar 01 2006

EXTENSIONS

More terms from Robert G. Wilson v, Mar 09 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 14:20 EDT 2021. Contains 347598 sequences. (Running on oeis4.)