login
Diagonal of the 26 X 26 Caesar Shift table.
0

%I #11 Oct 11 2019 11:21:07

%S 3,5,7,9,11,13,15,17,19,21,23,25,1,3,5,7,9,11,13,15,17,19,21,23,25,1

%N Diagonal of the 26 X 26 Caesar Shift table.

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Caesar_cipher">Caesar cipher</a>

%F a(n) = 1 + (2*n mod 26).

%t Clear[a, n, m];

%t a = Table[1 + Mod[n + m, 26], {m, 1, 26}, {n, 1, 26}];

%t Table[a[[n, n]], {n, 1, Length[a]}]

%K nonn,less,fini,full

%O 1,1

%A _Roger L. Bagula_, Jan 25 2010

%E Keywords added, spelling corrected by the Assoc. Editors of the OEIS, Feb 02 2010