[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A127422 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
#21 by N. J. A. Sloane at Wed Mar 29 09:47:39 EDT 2017
STATUS

editing

approved

#20 by N. J. A. Sloane at Wed Mar 29 09:47:35 EDT 2017
NAME

Numbers whose decimal expansion is a concatenation of 3 consecutive increasing numbers.

Duplicate of A001703.

OFFSET

1,0,1

FORMULA

a(n) = (n-1)*10^floor[log10(b)+1]+b, with b=n*10^floor[log10(n+1)+1]+n+1 and n>=1. - Paolo P. Lava, Aug 04 2008

MAPLE

P:=proc(i) local a, b, c, n; for n from 1 by 1 to i do b:=n*10^evalf(floor(log10(n+1)+1))+n+1; a:=floor((n-1)*10^evalf(floor(log10(b)+1))+b); print(a); od; end: P(1000); # Paolo P. Lava, Aug 04 2008

# second Maple program:

a:= n-> parse(cat(n-1, n, n+1)):

seq(a(n), n=1..50); # Alois P. Heinz, Mar 29 2017

CROSSREFS

Essentially the same as A001703.

Cf. A127421-A127424.

KEYWORD

nonn,base,changed

dead

AUTHOR

Artur Jasinski, Jan 14 2007

EXTENSIONS

Missing 192021 inserted. - R. J. Mathar, Mar 29 2017

STATUS

approved

editing

#19 by Alois P. Heinz at Wed Mar 29 07:35:33 EDT 2017
STATUS

editing

approved

#18 by Alois P. Heinz at Wed Mar 29 07:35:29 EDT 2017
MAPLE

P:=proc(i) local a, b, c, n; for n from 1 by 1 to i do b:=n*10^evalf(floor(log10(n+1)+1))+n+1; a:=floor((n-1)*10^evalf(floor(log10(b)+1))+b); print(a); od; end: P(1000); # Paolo P. Lava, Aug 04 2008]

STATUS

approved

editing

#17 by Alois P. Heinz at Wed Mar 29 07:33:52 EDT 2017
STATUS

editing

approved

#16 by Alois P. Heinz at Wed Mar 29 07:33:38 EDT 2017
FORMULA

a(n) = (n-1)*10^floor[log10(b)+1]+b, with b=n*10^floor[log10(n+1)+1]+n+1 and n>=1 [From _. - _Paolo P. Lava_, Aug 04 2008]

MAPLE

(Maple) P:=proc(i) local a, b, c, n; for n from 1 by 1 to i do b:=n*10^evalf(floor(log10(n+1)+1))+n+1; a:=floor((n-1)*10^evalf(floor(log10(b)+1))+b); print(a); od; end: P(1000); [From _# _Paolo P. Lava_, Aug 04 2008]

# second Maple program:

a:= n-> parse(cat(n-1, n, n+1)):

seq(a(n), n=1..50); # Alois P. Heinz, Mar 29 2017

STATUS

reviewed

editing

#15 by Joerg Arndt at Wed Mar 29 07:20:50 EDT 2017
STATUS

proposed

reviewed

#14 by R. J. Mathar at Wed Mar 29 07:18:27 EDT 2017
STATUS

editing

proposed

#13 by R. J. Mathar at Wed Mar 29 07:18:16 EDT 2017
DATA

12, 123, 234, 345, 456, 567, 678, 789, 8910, 91011, 101112, 111213, 121314, 131415, 141516, 151617, 161718, 171819, 181920, 192021, 202122, 212223, 222324, 232425, 242526, 252627, 262728, 272829, 282930, 293031, 303132, 313233, 323334, 333435, 343536, 353637, 363738, 373839, 383940, 394041

EXTENSIONS

Missing 192021 inserted. - R. J. Mathar, Mar 29 2017

STATUS

approved

editing

#12 by R. J. Mathar at Wed Mar 29 05:04:13 EDT 2017
DATA

12, 123, 234, 345, 456, 567, 678, 789, 8910, 91011, 101112, 111213, 121314, 131415, 141516, 151617, 161718, 171819, 181920, 192021, 202122, 212223, 222324, 232425, 242526, 252627, 262728, 272829, 282930, 293031, 303132, 313233, 323334, 333435, 343536, 353637, 363738, 373839, 383940, 394041

EXTENSIONS

Missing 192021 inserted. - R. J. Mathar, Mar 29 2017

STATUS

editing

approved