Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130504
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130504 Number of k for which T(n) + T(k) is prime, with 0<=k<=n and triangular number T(n)=n(n+1)/2. +0
2
0, 1, 1, 1, 2, 0, 1, 3, 1, 1, 2, 1, 1, 4, 0, 1, 8, 2, 3, 4, 1, 3, 7, 3, 0, 4, 3, 3, 6, 2, 1, 6, 2, 3, 6, 2, 3, 7, 4, 2, 8, 2, 4, 7, 2, 3, 15, 5, 3, 6, 2, 5, 13, 5, 1, 6, 2, 3, 21, 3, 3, 14, 3, 6, 7, 2, 5, 15, 6, 3, 6, 5, 9, 15, 4, 3, 12, 3, 6, 18, 3, 7, 16, 4, 6, 7, 7, 5, 15, 1, 4, 17, 5, 6, 9, 7, 8, 18, 6, 5 (list; graph; listen)
OFFSET

0,5

COMMENT

It appears that a(n)=0 for n=0,5,14,24 only. See A129634 for the least k.

LINKS

T. D. Noe, Table of n, a(n) for n=0..10000

EXAMPLE

a(4)=2 because 10+1 and 10+3 are prime; a(7)=3 because 28+1, 28+3 and 28+15 are primes.

MATHEMATICA

nn=100; tri=Range[0, nn]Range[nn+1]/2; Table[cnt=0; Do[If[PrimeQ[tri[[k]]+tri[[n]]], cnt++ ], {k, n}]; cnt, {n, Length[tri]}]

CROSSREFS

Cf. A069004 (for square numbers).

Sequence in context: A078805 A122837 A143359 this_sequence A044942 A114912 A029274

Adjacent sequences: A130501 A130502 A130503 this_sequence A130505 A130506 A130507

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Jun 04 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research