Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A040040
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A040040 Average of twin prime pairs (A014574), divided by 2. Or, 2n +/- 1 are primes. +0
25
2, 3, 6, 9, 15, 21, 30, 36, 51, 54, 69, 75, 90, 96, 99, 114, 120, 135, 141, 156, 174, 210, 216, 231, 261, 285, 300, 309, 321, 330, 405, 411, 414, 429, 441, 510, 516, 525, 531, 546, 576, 615, 639, 645, 651, 660, 714, 726, 741, 744, 804, 810, 834, 849, 861, 894 (list; graph; listen)
OFFSET

1,1

COMMENT

Intersection of A005097 and A006254. - Zak Seidov (zakseidov(AT)yahoo.com), Mar 18 2005

The only possible pairs for 2n+/-1 are prime/prime (this sequence), not prime/not prime (A104278), prime/notprime (A104279) and not prime/prime (A104280), ... this sequence + A104280 + A104279 + A104278 = the counting numbers.

LINKS

T. D. Noe, Table of n, a(n) for n=1..10001

FORMULA

a(n) = A014574(n)/2 = A054735(n+1)/4 = A111046(n+1)/8.

MAPLE

ZL:=[]:for p from 1 to 1800 do if (isprime(p) and isprime(p+2)) then ZL:=[op(ZL), (((p+2)^2)-p^2)/8]; fi; od; print(ZL); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 08 2007

MATHEMATICA

Select[Range[900], And @@ PrimeQ[{-1, 1} + 2# ] &] (*Chandler*)

CROSSREFS

Cf. A001359, A006512, A014574, A054735, A111046.

Sequence in context: A032231 A114323 A113808 this_sequence A086642 A014214 A094993

Adjacent sequences: A040037 A040038 A040039 this_sequence A040041 A040042 A040043

KEYWORD

nonn,easy

AUTHOR

njas

EXTENSIONS

More terms from Cino Hilliard, Oct 21 2002

page 1

Search completed in 0.003 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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research