Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120094
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120094 Rows of Pascal's triangle which contain no terms numerically adjacent to odd primes (the 1's at either end are of course numerically adjacent to the even prime 2). +0
1
7, 15, 31, 63, 81, 127, 239, 255, 470, 511 (list; graph; listen)
OFFSET

0,1

COMMENT

Apart from the (2^i-1)-th rows, there are no obvious divisibility properties that would explain the coincidence. '1' is the 0-th row.

EXAMPLE

The 7th, 15th, 31st, ... (2^i-1)-th rows are all included as pascal's triangle only contains odd terms, thus all numerically adjacent terms are even.

PROGRAM

(PARI) for(n=2, 1000, for(k=1, n\2, ok=1; c=n!/k!/(n-k)!; if(ispseudoprime(c+1)||ispseudoprime(c-1), ok=0; break; )); if(ok, print(n)))

CROSSREFS

Adjacent sequences: A120091 A120092 A120093 this_sequence A120095 A120096 A120097

Sequence in context: A139597 A117747 A137196 this_sequence A078485 A014001 A063592

KEYWORD

nonn

AUTHOR

Phil Carmody (pc+oeis(AT)asdf.org), Aug 15 2006

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 October 10 20:39 EDT 2008. Contains 144831 sequences.


AT&T Labs Research