I've got troubles with the problem 61.

(Link to problem added by moderator:

**Problem 61**(View Problem))

The wording is :

I found this solution : n1=1 n2=148 n3=4851 n4=5151 n5=5184 n6=8400Find the sum of the only ordered set of six cyclic 4-digit numbers for which each polygonal type: triangle, square, pentagonal, hexagonal, heptagonal, and octagonal, is represented by a different number in the set.

First point is each polygonal type is represented by a different number :

Code: Select all

```
n1=1 n2=148 n3=4851 n4=5151 n5=5184 n6=8400
tri 1 0 *1* 1 0 0
squ 1 0 0 0 *1* 0
pen 1 0 0 0 0 *1*
hex 1 0 0 *1* 0 0
hep 1 *1* 0 0 0 0
oct *1* 0 0 0 0 0
tri squ pen hex hep oct
n1: 1 1 1 1 1 1 *1*
n2: 148 0 0 0 0 *1* 0
n3:4851*1* 0 0 0 0 0
n4:5151 1 0 0 *1* 0 0
n5:5184 0 *1* 0 0 0 0
n6:8400 0 0 *1* 0 0 0
s:23735
```

Code: Select all

```
0001
148
4851
5151
5184
8400
0001 and so on
```

Thanks.

(Sorry for my poor English)