Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A056929
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A056929 Difference between n^2 and average of smallest prime greater than n^2 and largest prime less than n^2. +0
7
0, 0, 1, -1, 2, -1, 0, 0, 1, 1, 0, -1, 1, 0, 2, 1, 0, -2, 1, 0, 1, -3, 2, 0, 1, -1, 4, -5, 3, 1, -2, 0, -2, -1, 2, -1, 1, 4, 1, 0, -4, -5, -5, 3, -5, -1, 1, -4, 10, 0, 1, -2, 3, -5, 7, 9, -2, 1, 0, -2, 4, -9, 0, 1, 3, 1, -5, -10, 4, -4, 0, 1, 2, -6, 12, -4, 0, 3, -9, 3, -2, -2, 6, 1, -6, 2, -3 (list; graph; listen)
OFFSET

2,5

FORMULA

a(n) =A000290(n)-A056928(n) =(A056927(n)-A053000(n))/2

EXAMPLE

a(4)=1 because smallest prime greater than 4^2 is 17, largest prime less than 4^2 is 13, average of 17 and 13 is 15 and 16-15=1

MAPLE

with(numtheory): A056929 := n-> n^2-(prevprime(n^2)+nextprime(n^2))/2);

CROSSREFS

Cf. A007491, A053000, A053001, A056927, A056928, A056930, A056931.

Sequence in context: A046080 A035227 A049340 this_sequence A151692 A115201 A118229

Adjacent sequences: A056926 A056927 A056928 this_sequence A056930 A056931 A056932

KEYWORD

easy,sign

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Jul 12 2000

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Jul 13 2000

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 November 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research