OFFSET
0,2
COMMENTS
See A367360 for further information.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 0..10000
Eric Angelini, Michael S. Branicky, Giovanni Resta, N. J. A. Sloane, and David W. Wilson, The Comma Sequence: A Simple Sequence With Bizarre Properties, arXiv:2401.14346, Youtube
FORMULA
MAPLE
a:= n-> parse(cat(""||n[-1], ""||(n+1)[1])):
seq(a(n), n=0..99); # Alois P. Heinz, Nov 22 2023
MATHEMATICA
FromDigits /@ Partition[Rest@ Flatten[{First[#], Last[#]} & /@ IntegerDigits[Range[0, 120]]], 2, 2] (* Michael De Vlieger, Nov 22 2023 *)
PROG
(Python)
from itertools import count, islice, pairwise
def S(): yield from (str(i) for i in count(0))
def agen(): yield from (int(t[-1]+u[0]) for t, u in pairwise(S()))
print(list(islice(agen(), 82))) # Michael S. Branicky, Nov 22 2023
(Python)
def A367362(n): return (n%10)*10+int(str(n+1)[0]) # Chai Wah Wu, Dec 22 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Nov 22 2023
STATUS
approved