[go: up one dir, main page]

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

Showing all changes.
#7 by Jon E. Schoenfield at Fri Aug 07 02:39:01 EDT 2015
STATUS

editing

approved

#6 by Jon E. Schoenfield at Fri Aug 07 02:38:59 EDT 2015
MAPLE

digrev := proc(d) local r, i ; r := [] ; for i from 1 to nops(d) do r := [op(i, d), op(r)] ; od ; RETURN(r) ; end: A078269 := proc(n) local digs, res, i ; digs := [] ; for i from 1 to n do digs := [op(digs), op(digrev(convert(i, base, 10)))] ; od ; res := 0 ; for i from 1 to nops(digs) do res := 100*res+op(i, digs) ; od ; digs := [] ; for i from 1 to n do digs := [op(digs), op(convert(i, base, 10))] ; od ; res := 10*res ; for i from 1 to nops(digs) do res := res+op(i, digs)*10^(2*i-2) ; od ; RETURN(res) ; end: A078270 := proc(n) A078269(n)/11 ; end: for n from 1 to 20 do printf("%d, ", A078270(n)) ; od : - _# _R. J. Mathar_, Feb 27 2007

STATUS

approved

editing

#5 by N. J. A. Sloane at Thu Dec 05 19:55:57 EST 2013
AUTHOR

_Amarnath Murthy (amarnath_murthy(AT)yahoo.com), _, Nov 24 2002

Discussion
Thu Dec 05
19:55
OEIS Server: https://oeis.org/edit/global/2075
#4 by Russ Cox at Fri Mar 30 17:38:49 EDT 2012
MAPLE

digrev := proc(d) local r, i ; r := [] ; for i from 1 to nops(d) do r := [op(i, d), op(r)] ; od ; RETURN(r) ; end: A078269 := proc(n) local digs, res, i ; digs := [] ; for i from 1 to n do digs := [op(digs), op(digrev(convert(i, base, 10)))] ; od ; res := 0 ; for i from 1 to nops(digs) do res := 100*res+op(i, digs) ; od ; digs := [] ; for i from 1 to n do digs := [op(digs), op(convert(i, base, 10))] ; od ; res := 10*res ; for i from 1 to nops(digs) do res := res+op(i, digs)*10^(2*i-2) ; od ; RETURN(res) ; end: A078270 := proc(n) A078269(n)/11 ; end: for n from 1 to 20 do printf("%d, ", A078270(n)) ; od : - _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Feb 27 2007

EXTENSIONS

More terms from _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Feb 27 2007

Discussion
Fri Mar 30
17:38
OEIS Server: https://oeis.org/edit/global/190
#3 by N. J. A. Sloane at Sun Jun 29 03:00:00 EDT 2008
MAPLE

digrev := proc(d) local r, i ; r := [] ; for i from 1 to nops(d) do r := [op(i, d), op(r)] ; od ; RETURN(r) ; end: A078269 := proc(n) local digs, res, i ; digs := [] ; for i from 1 to n do digs := [op(digs), op(digrev(convert(i, base, 10)))] ; od ; res := 0 ; for i from 1 to nops(digs) do res := 100*res+op(i, digs) ; od ; digs := [] ; for i from 1 to n do digs := [op(digs), op(convert(i, base, 10))] ; od ; res := 10*res ; for i from 1 to nops(digs) do res := res+op(i, digs)*10^(2*i-2) ; od ; RETURN(res) ; end: A078270 := proc(n) A078269(n)/11 ; end: for n from 1 to 20 do printf("%d, ", A078270(n)) ; od : - Richard R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2007

KEYWORD

base,nonn,new

EXTENSIONS

More terms from Richard R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2007

#2 by N. J. A. Sloane at Fri May 11 03:00:00 EDT 2007
DATA

1, 111, 12021, 1293931, 138575841, 14775857751, 1569413139661, 166124050421571, 17530678687703481, 101854077969780448291, 1019376417897988137639201, 10202855923708990650955830111

MAPLE

digrev := proc(d) local r, i ; r := [] ; for i from 1 to nops(d) do r := [op(i, d), op(r)] ; od ; RETURN(r) ; end: A078269 := proc(n) local digs, res, i ; digs := [] ; for i from 1 to n do digs := [op(digs), op(digrev(convert(i, base, 10)))] ; od ; res := 0 ; for i from 1 to nops(digs) do res := 100*res+op(i, digs) ; od ; digs := [] ; for i from 1 to n do digs := [op(digs), op(convert(i, base, 10))] ; od ; res := 10*res ; for i from 1 to nops(digs) do res := res+op(i, digs)*10^(2*i-2) ; od ; RETURN(res) ; end: A078270 := proc(n) A078269(n)/11 ; end: for n from 1 to 20 do printf("%d, ", A078270(n)) ; od : - Richard J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2007

KEYWORD

base,more,nonn,new

EXTENSIONS

More terms from Richard J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2007

#1 by N. J. A. Sloane at Fri May 16 03:00:00 EDT 2003
NAME

a(n) = A078269(n)/11.

DATA

1, 111, 12021, 1293931, 138575841, 14775857751, 1569413139661, 166124050421571, 17530678687703481

OFFSET

1,2

CROSSREFS

Cf. A078269.

KEYWORD

base,more,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 24 2002

STATUS

approved