Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A036440
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A036440 Number of ways of arranging row n of the Prime Pyramid. +0
7
1, 1, 1, 1, 1, 1, 2, 4, 7, 24, 80, 216, 648, 1304, 3392, 13808, 59448, 155464, 480728, 1588162, 5626309, 28279112, 157469880, 842498189, 4998554801, 28466978744, 166572523589 (list; graph; listen)
OFFSET

1,7

COMMENT

Number of ways to arrange numbers from 1 to n in a row, starting with 1 and ending with n, such that the sum of every two adjacent numbers is prime.

REFERENCES

R. K. Guy, Unsolved Problems Number Theory, C1.

LINKS

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.

EXAMPLE

a(8)=4 because of the 720 permutations P of {1,2,3,...,8) with first element 1 and last element 8, these four satisfy the "prime pyramid" condition that P[ i ]+P[ i+1 ] be prime for i=1..7: 1 2 3 4 7 6 5 8; 1 2 5 6 7 4 3 8; 1 4 7 6 5 2 3 8; 1 6 7 4 3 2 5 8.

CROSSREFS

Cf. A051237.

Sequence in context: A059501 A138049 A099387 this_sequence A103001 A065846 A047904

Adjacent sequences: A036437 A036438 A036439 this_sequence A036441 A036442 A036443

KEYWORD

nonn,nice

AUTHOR

John W. Layman (layman(AT)math.vt.edu)

EXTENSIONS

More terms from Jud McCranie (j.mccranie(AT)comcast.net)

a(25..27) from Max Alekseyev (maxale(AT)gmail.com), Jan 05 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research