login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096158 Number of permutations of proper divisors of n such that the sum of adjacent pairs of divisors is prime. 2
0, 0, 0, 2, 0, 2, 0, 2, 0, 2, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
For n>4: a(n)=2 iff (n/2,2+n/2) is twin prime pair, a(2*A001359(n))=2;
a(A096160(n)) > 0.
LINKS
EXAMPLE
Proper divisors of n=12 are {1,2,3,4,6}:
[2,3,4,1,6]->(2+3,3+4,4+1,1+6)=(5,7,5,7),
[4,3,2,1,6]->(4+3,3+2,2+1,1+6)=(7,5,3,7),
[6,1,2,3,4]->(6+1,1+2,2+3,3+4)=(7,3,5,7) and
[6,1,4,3,2]->(6+1,1+4,4+3,3+2)=(7,5,7,5): therefore a(12)=4.
CROSSREFS
Sequence in context: A045843 A363885 A181587 * A264782 A053471 A144078
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 18 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 01:36 EDT 2024. Contains 371264 sequences. (Running on oeis4.)