Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134143
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134143 Let T(n) = (p, p+2) denote the n-th pair of twin primes. Let S(n) = 2p+2 (see A054735). Then a(n) = number of ways of writing S(n) as S(i) + S(j) with i <= j < m. +0
1
0, 0, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 3, 2, 3, 1, 4, 3, 3, 3, 2, 6, 3, 5, 3, 3, 3, 3, 3, 8, 4, 2, 3, 3, 6, 4, 4, 6, 7, 8, 3, 6, 3, 9, 8, 7, 7, 5, 8, 4, 1, 6, 6, 3, 7, 1, 6, 6, 4, 8, 1, 5, 5, 8, 9, 11, 10, 6, 8, 16, 13, 9, 12, 6, 7, 8, 4, 16, 9, 6, 13, 10, 9, 5, 6, 6, 8, 11, 16, 11, 13, 6, 6, 6, 17, 9, 6, 6, 4 (list; graph; listen)
OFFSET

1,7

COMMENT

It is conjectured that a(n) > 0 for n >= 3.

REFERENCES

R. K. Guy, ed., Unsolved Problems, Western Number Theory Meeting, Las Vegas, 1988.

LINKS

Jmes A. Sellers, Table of n, a(n) for n = 1..680

EXAMPLE

a(4) = 1 because S(4) = 17+19 = (5+7) + (11+13) = S(2)+S(3) and this is the only such way to write S(4) as the sum S(i) + S(j) for i <= j < 4.

MAPLE

(Maple program from James A. Sellers) with(numtheory): Sset := {}; for i from 1 to 5000 do if ithprime(i + 1) - ithprime(i) = 2 then Sset := Sset union {2 ithprime(i) + 2} fi; od; Sset := convert(Sset, list): for n from 1 to nops(Sset) do count := 0: s := Sset[n]: for i from 1 to n do if member(s - Sset[i], Sset) and s - Sset[i] >= s/2 then count:=count + 1 fi: od: printf(`%d, `, count): od:

(Maple program from R. J. Mathar) A001359 := proc(n) option remember;

local a;

if n = 1 then

3;

else

for a from A001359(n-1)+2 by 2 do

if isprime(a) and isprime(a+2) then

RETURN(a);

fi;

od:

fi;

end:

A054735 := proc(n) option remember;

2*A001359(n)+2;

end:

A000001 := proc(n)

local Sn, i, j, a;

Sn := A054735(n);

a := 0;

for i from 1 to n-1 do

for j from i to n-1 do

if A054735(i)+A054735(j) = Sn then

a := a+1;

fi;

od:

od:

RETURN(a);

end:

for n from 1 to 120 do

# print(n, A001359(n));

#print(n, A054735(n));

#print(n, A000001(n));

printf("%d, ", A000001(n));

od:

CROSSREFS

Cf. A054735, A001359.

Sequence in context: A062246 A037811 A091237 this_sequence A085684 A071338 A078826

Adjacent sequences: A134140 A134141 A134142 this_sequence A134144 A134145 A134146

KEYWORD

nonn

AUTHOR

njas, Jan 25 2008

EXTENSIONS

Terms from a(5) onwards computed by James A. Sellers (sellersj(AT)math.psu.edu) and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 25 2008

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 28 22:44 EDT 2008. Contains 143251 sequences.


AT&T Labs Research