login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007942 Concatenation of sequence (n,n-1,..,2,1,2,..,n-1,n). 1
1, 212, 32123, 4321234, 543212345, 65432123456, 7654321234567, 876543212345678, 98765432123456789, 109876543212345678910, 1110987654321234567891011 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Also called Smarandache mirror sequence.

REFERENCES

F. Smarandache, "Only Problems, not Solutions!", Xiquan Publ., Phoenix-Chicago, 1993

LINKS

M. L. Perez et al., eds., Smarandache Notions Journal

F. Smarandache, Only Problems, Not Solutions!

FORMULA

a(n+1)=n*10^{floor[1+log10(a(n))]+floor[1+log10(n)]}+a(n)*10^floor[1+log10(n)]+n, with a(1)=1 - Paolo P. Lava (paoloplava(AT)gmail.com), Jun 04 2008

MAPLE

P:=proc(n) local a, b, i; a:=1; b:=0; print(a); for i from 1 by 1 to n do b:=a; a:=(i+1)*10^(2+floor(evalf(log10(b), 10))+floor(evalf(log10(i+1), 10)))+b*10^(1+floor(evalf(log10(i+1), 10)))+i+1; print(a); od; end: P(100); - Paolo P. Lava (paoloplava(AT)gmail.com), Jun 04 2008

CROSSREFS

Sequence in context: A082828 A204299 A083962 * A079794 A197106 A138568

Adjacent sequences:  A007939 A007940 A007941 * A007943 A007944 A007945

KEYWORD

nonn,base,easy

AUTHOR

R. Muller

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 18:19 EST 2012. Contains 205835 sequences.