Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A056141
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A056141 primefloor[n]*primeceiling[n]-previousprime[n]*nextprime[n]. +0
3
-1, 0, 4, 0, -6, 0, 0, 0, 30, 0, -18, 0, 0, 0, 42, 0, -30, 0, 0, 0, -22, 0, 0, 0, 0, 0, 128, 0, -112, 0, 0, 0, 0, 0, 98, 0, 0, 0, 90, 0, -78 (list; graph; listen)
OFFSET

3,3

FORMULA

a(n)=A007917(n)*A007918(n)-A007917(n-1)*A007918(n+1) =A030664(n)-A013638(n) =A056140(n)-A056139(n)

EXAMPLE

a(n)=A056140(n) if n is prime, a(n)=0 otherwise

a(3)=3*3-2*5=-1, a(4)=3*5-3*5=0

CROSSREFS

Cf. A056139, A056140.

Sequence in context: A108174 A134530 A126813 this_sequence A125961 A016681 A076290

Adjacent sequences: A056138 A056139 A056140 this_sequence A056142 A056143 A056144

KEYWORD

easy,sign

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Jun 15 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 September 5 19:27 EDT 2008. Contains 143485 sequences.


AT&T Labs Research