Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A129631
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A129631 Numbers n such that sum of digits of binomial(n+1,n-1) is a prime. +0
2
2, 6, 15, 20, 24, 31, 34, 43, 52, 61, 67, 70, 76, 85, 88, 91, 94, 97, 103, 106, 112, 115, 121, 124, 127, 130, 133, 136, 139, 141, 145, 151, 154, 160, 163, 166, 169, 178, 181, 190, 193, 196, 199, 200, 208, 211, 217, 226, 229, 232, 235, 238, 241, 247, 250, 259 (list; graph; listen)
OFFSET

1,1

EXAMPLE

binomial(6+1,6-1)=binomial(7,5)=7!/(5!*2!)=21 --> 2+1=3 prime.

MAPLE

P:=proc(n) local i, k, w; for i from 1 by 1 to n do w:=0; k:=binomial(i+1, i-1); while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; if isprime(w) then print(i); fi; od; end: P(1000);

CROSSREFS

Sequence in context: A134891 A020947 A011777 this_sequence A014847 A013636 A144653

Adjacent sequences: A129628 A129629 A129630 this_sequence A129632 A129633 A129634

KEYWORD

nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), May 31 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 20 16:54 EST 2009. Contains 171081 sequences.


AT&T Labs Research