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!)
A073274 A000040(n+1) - A073273(n). 3
0, 1, 0, 2, 0, 2, 0, 0, 3, -1, 2, 2, 0, 0, 1, 3, -1, 2, 2, -1, 2, 0, 0, 3, 2, 0, 2, 0, -4, 6, 0, 3, -3, 5, -1, 1, 2, 0, 1, 3, -3, 5, 0, 2, -4, 1, 5, 2, 0, 0, 3, -3, 3, 1, 1, 3, -1, 2, 2, -3, -1, 6, 2, 0, -4, 5, -1, 5, 0, 0, 0, 2, 1, 2, 0, 0, 3, -1, 0, 5, -3, 5, -1, 2, 0, 0, 3, 2, 0, -3, 3, 3, -1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

EXAMPLE

For n=11, A000040(11)*A000040(13) = 31*41 = 1271 = 35*35+46, therefore A073273(11)=35; a(11) = A000040(12)-A073273(11) = 37-35 = +2.

PROG

(PARI) vector(80, n, prime(n+1) - floor(sqrt(prime(n)*prime(n+2)))) \\ Michel Marcus, Jun 02 2015

(PARI) a(n, p=prime(n))=my(q=nextprime(p+1), r=nextprime(q+1)); q - sqrtint(p*r) \\ Charles R Greathouse IV, Jun 02 2015

CROSSREFS

Cf. A073272.

Sequence in context: A263147 A298100 A303636 * A192323 A242848 A071957

Adjacent sequences:  A073271 A073272 A073273 * A073275 A073276 A073277

KEYWORD

sign

AUTHOR

Reinhard Zumkeller, Jul 22 2002

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 February 18 04:48 EST 2020. Contains 332011 sequences. (Running on oeis4.)