login

Revision History for A249484

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

Showing entries 1-10 | older changes
Sequence which reappears when consecutive terms are erased iff they have the same parity.
(history; published version)
#12 by N. J. A. Sloane at Mon Jan 02 12:30:51 EST 2023
LINKS

Éric Angelini, <a href="http://list.seqfan.eu/pipermailoldermail/seqfan/2015-January/014291.html">More fractal triangles</a>, SeqFan list, Jan 12 2015.

Discussion
Mon Jan 02
12:30
OEIS Server: https://oeis.org/edit/global/2957
#11 by N. J. A. Sloane at Tue Jan 13 18:22:34 EST 2015
STATUS

editing

approved

#10 by N. J. A. Sloane at Tue Jan 13 18:22:30 EST 2015
NAME

Sequence which is reappearing, reappears when consecutive terms are erased iff they have the same parity.

STATUS

approved

editing

#9 by Reinhard Zumkeller at Tue Jan 13 16:11:09 EST 2015
STATUS

editing

approved

#8 by Reinhard Zumkeller at Tue Jan 13 16:11:03 EST 2015
CROSSREFS

Cf. A249900.

STATUS

approved

editing

#7 by Reinhard Zumkeller at Tue Jan 13 13:36:14 EST 2015
STATUS

editing

approved

#6 by Reinhard Zumkeller at Tue Jan 13 13:35:04 EST 2015
LINKS

Éric Angelini, <a href="http://list.seqfan.eu/pipermail/seqfan/2015-January/014291.html">More fractal triangles</a>, SeqFan list, Jan 12 2015.

EXAMPLE

. n : 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|

. a(n): 1 2 4 3 5 2 7 9 4 3 6 8 5 2 7 10 12 9 4 3 6 11 13 8 5

. 0/1 : 1 0 0 1 1 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1

. : 1 _ _ _ _ 2 _ _ 4 3 _ _ 5 2 7 _ _ 9 4 3 6 _ _ 8 5 .

PROG

(Haskell)

a249484 n = a249484_list !! n

a249484_list = 1 : concat (zipWith (++) ([2] : f [5, 2, 7]) (f [4, 3])) where

f = iterate (\row -> [g $ head row] ++ row ++ [g $ last row])

g x = x + ((5 -) . (* 2) . flip mod 2) x

AUTHOR

_Eric Angelini_ and _Reinhard Zumkeller_, Jan 13 2015

#5 by Reinhard Zumkeller at Tue Jan 13 13:33:05 EST 2015
NAME

allocated for Reinhard ZumkellerSequence which is reappearing, when consecutive terms are erased iff they have the same parity.

DATA

1, 2, 4, 3, 5, 2, 7, 9, 4, 3, 6, 8, 5, 2, 7, 10, 12, 9, 4, 3, 6, 11, 13, 8, 5, 2, 7, 10, 15, 17, 12, 9, 4, 3, 6, 11, 14, 16, 13, 8, 5, 2, 7, 10, 15, 18, 20, 17, 12, 9, 4, 3, 6, 11, 14, 19, 21, 16, 13, 8, 5, 2, 7, 10, 15, 18, 23, 25, 20, 17, 12, 9, 4, 3, 6

OFFSET

0,2

LINKS

Reinhard Zumkeller, <a href="/A249484/b249484.txt">Table of n, a(n) for n = 0..10000</a>

KEYWORD

allocated

nonn

AUTHOR

Reinhard Zumkeller, Jan 13 2015

STATUS

approved

editing

#4 by Reinhard Zumkeller at Tue Jan 13 12:28:21 EST 2015
NAME

allocated for Reinhard Zumkeller

KEYWORD

recycled

allocated

#3 by R. J. Mathar at Fri Jan 09 14:25:39 EST 2015
STATUS

editing

approved