|
|
A268517
|
|
Three-digit numbers, starting with 321, such that when written in a table with three columns, there are arithmetic progressions modulo 10 down the diagonals, with steps of 1, 2 and 3 respectively.
|
|
0
|
|
|
321, 444, 675, 680, 370, 268, 949, 206, 851, 208, 132, 444, 567, 68, 37, 826, 994, 620, 185, 820, 213, 444, 756, 806, 703, 682, 499, 62, 518, 82, 321, 444, 675, 680, 370, 268, 949, 206, 851, 208, 132, 444, 567, 68, 37, 826, 994, 620, 185, 820, 213, 444, 756, 806
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
|
|
REFERENCES
|
GCHQ Director's Christmas Puzzles for 2015.
|
|
LINKS
|
|
|
EXAMPLE
|
The table begins
3 2 1
4 4 4
6 7 5
6 8 0
3 7 0
2 6 8
9 4 9
2 0 6
8 5 1
2 0 8
...
and one can see the three arithmetic progressions down the diagonals: 3, 4, 5, 6, ...; 2, 4, 6, 8, ...; 1, 4, 7, 0, ... .
|
|
PROG
|
(Python)
from __future__ import division
for i in range(10**4):
A268517_list.append(((a+1+(2-i)%3) % 10)*100 + ((a//100+1+(-i)%3) % 10)*10 + ((a//10+1+(1-i)%3) % 10)) # Chai Wah Wu, Feb 08 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|