Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126554
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126554 Arithmetic mean of two consecutive balanced primes (of order one). +0
7
29, 105, 165, 192, 234, 260, 318, 468, 578, 600, 630, 693, 840, 962, 1040, 1113, 1155, 1205, 1295, 1439, 1629, 1750, 1830, 2097, 2352, 2547, 2790, 2933, 3135, 3310, 3475, 3685, 3873, 4211, 4433, 4527, 4627, 4674, 4842, 5050, 5110, 5208, 5345, 5390, 5478 (list; graph; listen)
OFFSET

1,1

COMMENT

Might be called interprimes of order two, since the arithmetic means of two consecutive odd primes (A024675) sometimes are called interprimes.

Balanced primes of order two (A082077) and doubly balanced primes (A051795) have different definitions.

a(n) = (A006562(n+1)+A006562(n))/2.

For primes in this sequence (prime interprimes of order two) see A126555.

MATHEMATICA

b = {}; a = {}; Do[If[PrimeQ[((Prime[n + 2] + Prime[n + 1])/2 + (Prime[n + 1] + Prime[n])/2)/2], AppendTo[a, ((Prime[n + 2] + Prime[n + 1])/2 + (Prime[n + 1] + Prime[n])/2)/2]], {n, 1, 1000}]; Do[AppendTo[b, (a[[k + 1]] + a[[k]])/2], {k, 1, Length[a] - 1}]; b

PROGRAM

(PARI) {m=6000; a=0; p=2; q=3; r=5; while(r<=m, if((p+r)/2==q, if(a>0, print1((a+q)/2, ", ")); a=q); p=q; q=r; r=nextprime(r+1))} - Klaus Brockhaus, Jan 05 2007

CROSSREFS

Cf. A006562, A024675, A082077, A051795, A126555.

Sequence in context: A069472 A142138 A009435 this_sequence A009406 A142176 A115272

Adjacent sequences: A126551 A126552 A126553 this_sequence A126555 A126556 A126557

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Dec 27 2006

EXTENSIONS

Edited by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jan 05 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 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research