Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A133450
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A133450 Difference between 4*n^2 and the average of the two prime numbers which bracket this number. +0
1
0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 1, 2, 1, 4, 3, -2, -2, 2, 1, 1, -4, -5, -5, 1, 10, 1, 3, 7, -2, 0, 4, 0, 3, -5, 4, 0, 2, 12, 0, -9, -2, 6, -6, -3, 3, 0, 2, 1, -3, 10, -9, 1, 10, -3, 1, 0, 4, 2, -2, 5, 1, 1, 8, -12, 5, -1, 8, -2, 0, 0, -3, -1, 1, 2, 8, -4, 12, 3, 4, 5, 1, -2, -10, 0, 10 (list; graph; listen)
OFFSET

1,3

FORMULA

a(n)=A056929(2n). - M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Dec 26 2007

EXAMPLE

a(1)=0 because 4 - (3 + 5)/2 = 0

a(2)=1 because 16 - (13 + 17)/2 = 1

a(3)=2 because 36 - (31 + 37)/2 = 2

a(4)=0 because 64 - (61 + 67)/2 = 0

a(5)=1 because 100 - (97 + 101)/2 = 1

MATHEMATICA

Table[n^2-(Prime[PrimePi[n^2]]+Prime[PrimePi[n^2]+1])/2, {n, 2, 200, 2}] - Zak Seidov (zakseidov(AT)yahoo.com)

PROGRAM

(PARI) A133450(n)=4*n^2-(precprime(4*n^2)+nextprime(4*n^2))/2 - M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Dec 26 2007

CROSSREFS

Cf. A056929, A101593, A075190.

Sequence in context: A119346 A014586 A122924 this_sequence A029410 A054528 A025884

Adjacent sequences: A133447 A133448 A133449 this_sequence A133451 A133452 A133453

KEYWORD

sign

AUTHOR

Alexander R. Povolotsky (pevnev(AT)juno.com), Dec 22 2007

EXTENSIONS

Corrected and extended by Zak Seidov, Dec 23, 2007

Edited by njas, Dec 23 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 4 20:00 EST 2008. Contains 151309 sequences.


AT&T Labs Research