Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A073579
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A073579 Signed primes: if prime(n) even, a(n) = 0; if prime(i) == 1 (mod 4), a(i)=prime(i); if prime(i) == -1 (mod 4), a(i)=-prime(i). +0
4
0, -3, 5, -7, -11, 13, 17, -19, -23, 29, -31, 37, 41, -43, -47, 53, -59, 61, -67, -71, 73, -79, -83, 89, 97, 101, -103, -107, 109, 113, -127, -131, 137, -139, 149, -151, 157, -163, -167, 173, 179, 181, -191, 193, 197, -199, -211, -223, -227, 229, 233, -239, 241, -251, 257, -263, 269, -271, 277, 281 (list; graph; listen)
OFFSET

1,2

COMMENT

Product(i>1)(1/(1-1/a(i))) = 1-1/3+1/5-1/7-1/9+1/11... = pi/4 Product(i>1)(1/(1+1/a(i))) = pi/2 Product(i>1)(1/(1-1/a(i)))*Product(i>1)(1/(1+1/a(i))) = Product(i>1)(1/(1-1/P(i)^2)) = 1+1/3^2+1/5^2+1/7^2+1/9^2+... = pi^2/8

Also prime(n)*(2 - prime(n) mod 4) = A000040(n)*A070750(n). - Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Oct 21 2002

FORMULA

a(1)=0, and for i>1: a(i)=(-1)^((prime(i)-1)/2)*prime(i)

EXAMPLE

a(1)=0 because prime(1)=2 neither 4k+1, nor 4k-1. a(6)=13=prime(6) because 13=4*3+1 a(8)=-19=-prime(8) because 19=4*5-1

CROSSREFS

Cf. A000040.

Sequence in context: A074918 A006005 A065091 this_sequence A065380 A038134 A138980

Adjacent sequences: A073576 A073577 A073578 this_sequence A073580 A073581 A073582

KEYWORD

easy,sign

AUTHOR

Miklos Kristof (kristmikl(AT)freemail.hu), Aug 28 2002

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research