Re: [sage-support] bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread Dima Pasechnik
On Mon, 29 Jun 2020, 18:59 Dima Pasechnik,  wrote:

> On Mon, Jun 29, 2020 at 6:25 PM David Joyner  wrote:
> >
> > Hi:
> >
> > In SageMath version 9.1.beta3, I get
> >
> > sage: Gamma1 = graphs.CirculantGraph(10,[2,4])
> >
> > sage: Gamma1.is_connected()
> >
> > False
> >
> >
> > My understanding is that all circulant graphs are connected.
>
> no, why? e.g. graphs.CirculantGraph(4,[2])
> is the disjoint union of two K_2.
>

PS. In case, I am a parttime graph theorist. :-) and no, it is not a bug.

>
> Dima
> >
> > Is this a bug?
> >
> > - David
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-support+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAEQuuAWHFg_yxQR6T9bsbpwig4FEqKpo4Jt65BOEQYaygfCrCw%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3%3DEPR6xZD%2BBw%3D913L5C3VP6cvkw0uWxokaXYdy-PQ0cQ%40mail.gmail.com.


Re: [sage-support] Re: bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread David Joyner
On Mon, Jun 29, 2020 at 2:04 PM John H Palmieri 
wrote:

> According to wikipedia, graphs.CirculantGraph(n, [j_1, j_2, ...]) is
> connected if and only if gcd(n, j_1, j_2, ...) = 1. In this case, the gcd
> is 2. If Sage's definition is correct, it's defined as having 10 vertices,
> and vertex i is connected to vertices i+2, i-2, i+4, i-4, then even
> vertices will only be connected to other even vertices, so it should have
> two connected components.
>

Thanks! Sorry for the false alarm.


>
> (I'm not a graph theorist, and wikipedia is wikipedia, so take this with a
> grain of salt.)
>
>   John
>
>
> On Monday, June 29, 2020 at 10:25:26 AM UTC-7 wdjo...@gmail.com wrote:
>
>> Hi:
>>
>> In SageMath version 9.1.beta3, I get
>>
>> sage: Gamma1 = graphs.CirculantGraph(*10*,[*2*,*4*])
>>
>> sage: Gamma1.is_connected()
>>
>> False
>>
>>
>> My understanding is that all circulant graphs are connected.
>>
>> Is this a bug?
>>
>> - David
>>
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/f76cc4fa-4406-40ef-bf1b-7b285407f4d0n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAEQuuAWpevbfRaxSuBpZyM5HpQig8B0iVYoF7UR28zKy2%2Bc02w%40mail.gmail.com.


[sage-support] gridlines in 0.5 units

2020-06-29 Thread Bert Henry
Hello,

is there a chance to get grindlines not ever 1 unit but in 0.5 untis?

Thanks a lot
Bert

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/fbf39fff-f674-46d8-a479-f9a800ac6562o%40googlegroups.com.


[sage-support] Re: bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread John H Palmieri
According to wikipedia, graphs.CirculantGraph(n, [j_1, j_2, ...]) is 
connected if and only if gcd(n, j_1, j_2, ...) = 1. In this case, the gcd 
is 2. If Sage's definition is correct, it's defined as having 10 vertices, 
and vertex i is connected to vertices i+2, i-2, i+4, i-4, then even 
vertices will only be connected to other even vertices, so it should have 
two connected components.

(I'm not a graph theorist, and wikipedia is wikipedia, so take this with a 
grain of salt.)

  John


On Monday, June 29, 2020 at 10:25:26 AM UTC-7 wdjo...@gmail.com wrote:

> Hi: 
>
> In SageMath version 9.1.beta3, I get
>
> sage: Gamma1 = graphs.CirculantGraph(*10*,[*2*,*4*])
>
> sage: Gamma1.is_connected()
>
> False
>
>
> My understanding is that all circulant graphs are connected. 
>
> Is this a bug?
>
> - David
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/f76cc4fa-4406-40ef-bf1b-7b285407f4d0n%40googlegroups.com.


Re: [sage-support] bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread Dima Pasechnik
On Mon, Jun 29, 2020 at 6:25 PM David Joyner  wrote:
>
> Hi:
>
> In SageMath version 9.1.beta3, I get
>
> sage: Gamma1 = graphs.CirculantGraph(10,[2,4])
>
> sage: Gamma1.is_connected()
>
> False
>
>
> My understanding is that all circulant graphs are connected.

no, why? e.g. graphs.CirculantGraph(4,[2])
is the disjoint union of two K_2.

Dima
>
> Is this a bug?
>
> - David
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/CAEQuuAWHFg_yxQR6T9bsbpwig4FEqKpo4Jt65BOEQYaygfCrCw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0JajzXf%2BPu0R4y5oBEUrFtYUByWNFGTjOymYQwR7JkFQ%40mail.gmail.com.


[sage-support] bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread David Joyner
Hi:

In SageMath version 9.1.beta3, I get

sage: Gamma1 = graphs.CirculantGraph(*10*,[*2*,*4*])

sage: Gamma1.is_connected()

False


My understanding is that all circulant graphs are connected.

Is this a bug?

- David

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAEQuuAWHFg_yxQR6T9bsbpwig4FEqKpo4Jt65BOEQYaygfCrCw%40mail.gmail.com.