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!)
A346112 Size of the smallest regular polygon chain for a regular polygon with n sides. 1
6, 4, 6, 3, 6, 4, 6, 5, 6, 3, 6, 4, 6, 4, 6, 3, 6, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,1
COMMENTS
Each polygon in a polygon chain shares one edge with both its predecessor and successor polygon. The polygon chain forms a connected cycle.
LINKS
FORMULA
Empirical observations for n >= 3:
a(n) = 3 if n == 0 (mod 6),
4 if n == 4 or 8 (mod 12),
5 if n = 10,
4 if n = 14,
6 otherwise.
EXAMPLE
For n = 6, 3 hexagons can form a ring. See the first link for this and further images.
PROG
(C++)
#include <iostream>
using namespace std;
int a(int n);
int main() {
int t = 30; //change to extend the number of terms
for (int n = 3; n < t; n++){
cout<< "n= "<<n<<" a(n)= "<<a(n)<<endl;
}
return 0;
}
int a(int n) {
int s =0;
if (n%6 == 0) {
s = 3;
} else if (n == 10) {
s = 5;
} else if (n == 14) {
s = 4;
} else if (n%4 == 0) {
s = 4;
} else {
s = 6;
}
return s;
}
CROSSREFS
Sequence in context: A153606 A086057 A254307 * A176394 A198235 A226294
KEYWORD
nonn,more,hear
AUTHOR
Stuart E Anderson, Jul 05 2021
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 June 26 12:21 EDT 2024. Contains 373718 sequences. (Running on oeis4.)