|
|
A030656
|
|
Pair up the numbers.
|
|
5
|
|
|
1, 23, 45, 67, 89, 1011, 1213, 1415, 1617, 1819, 2021, 2223, 2425, 2627, 2829, 3031, 3233, 3435, 3637, 3839, 4041, 4243, 4445, 4647, 4849, 5051, 5253, 5455, 5657, 5859, 6061, 6263, 6465, 6667, 6869, 7071, 7273, 7475, 7677, 7879, 8081, 8283, 8485, 8687, 8889
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
MATHEMATICA
|
seq[n_] := FromDigits[Flatten[IntegerDigits /@ #]] & /@ Partition[Range[0, (n + 1)*2], 2];
|
|
PROG
|
(Magma) [Seqint(Intseq(n+1) cat Intseq(n)): n in [0..86 by 2]]; // Bruno Berselli, Jun 18 2011
(Python)
def a(n): return int(str(2*n)+str(2*n+1))
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|