Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100460
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100460 Smallest prime which is equal to the sum of three distinct primes in exactly n ways, or 0 if no such prime exists. +0
1
19, 23, 29, 31, 37, 41, 0, 0, 47, 0, 53, 0, 59, 0, 67, 0, 73, 71, 79, 0, 0, 0, 0, 0, 83, 89, 0, 97, 0, 0, 103, 101, 0, 0, 0, 0, 107, 0, 113, 0, 0, 0, 0, 127, 0, 0, 0, 139, 0, 0, 131, 0, 0, 137, 151, 0, 0, 0, 0, 149, 0, 157, 0, 163, 0, 0, 0, 0, 0, 0, 0, 0, 167, 181, 0, 0, 0, 0, 179, 173, 0 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(1)=19 since 19=3+5+11; a(2)=23 since 23=5+7+11=3+7+13.

a(5)=37 since 37=3+5+29=3+11+23=5+13+19=7+11+19=7+13+17.

MATHEMATICA

nn=100; t=Table[0, {nn}]; s=Table[{}, {nn}]; Do[p=Prime[i]+Prime[j]+Prime[k]; If[PrimeQ[p], pin=PrimePi[p]; If[pin<=nn, t[[pin]]++; AppendTo[s[[pin]], {i, j, k}]]], {i, nn}, {j, i+1, nn}, {k, j+1, nn}]; Table[pos=Position[t, n]; If[pos=={}, 0, Prime[pos[[1, 1]]]], {n, nn}]

CROSSREFS

Sequence in context: A095222 A070299 A159021 this_sequence A166061 A073319 A120640

Adjacent sequences: A100457 A100458 A100459 this_sequence A100461 A100462 A100463

KEYWORD

nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Nov 23 2004

EXTENSIONS

Corrected and extended by T. D. Noe (noe(AT)sspectra.com), Nov 23 2004

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