login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064821 Number of ways of writing the numbers 1 .. n in a sequence so that the sum of any two adjacent numbers is a prime; reversing the sequence does not count as different. 0
0, 1, 1, 4, 2, 8, 12, 30, 70, 664, 1072, 8768, 11648, 37108, 95772, 1059816, 2047488, 12111712, 22802028, 120779959, 337801784, 4361743860, 11425028900, 142573286216 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

If the sequence is d_1 d_2 ... d_n then the n-1 sums d_i + d_{i+1} are required to be primes.

I conjecture a(n) > 0 for all n.

Variant of A051239 with respect to a(1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 02 2008]

EXAMPLE

For n = 4 there are 4 sequences: 1234, 1432, 3214, 3412.

CROSSREFS

Sequence in context: A050128 A134042 A051239 * A002291 A110622 A130078

Adjacent sequences:  A064818 A064819 A064820 * A064822 A064823 A064824

KEYWORD

nonn,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Oct 23 2001

EXTENSIONS

More terms from Jud McCranie (JudMcCranie(AT)ugaalum.uga.edu), Oct 24 2001

a(22)-a(24) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Aug 27 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 00:47 EST 2012. Contains 205567 sequences.