OFFSET
1,1
COMMENTS
2 and 5 are taken as mirror images (as on calculator displays). a(1)=10011001 and a(20)=11111111 shared the property to present also two symmetrical halves.
This sequence has exactly 42 terms, ending with 12288551 (Dec. 28th 8551).
LINKS
Iain Fox, Table of n, a(n) for n = 1..42
PROG
(PARI) a(n) = my(d=digits(126+25*((n-1)\14)+(n-1)%14, 5)); fromdigits(apply(i->[0, 1, 2, 5, 8, 5, 2][i+1], concat(d, apply(i->i+3*bitand(i, 2)/2, Vecrev(d))))) \\ Iain Fox, Jul 08 2022
CROSSREFS
KEYWORD
base,easy,fini,full,nonn
AUTHOR
Alexandre Wajnberg, May 19 2005
EXTENSIONS
Definition clarified by Hieronymus Fischer, Apr 01 2012
STATUS
approved