[go: up one dir, main page]

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

Showing entries 1-10 | older changes
Permutation of natural numbers: a(1) = 1, a(A269389(1+n)) = 2 * a(n), a(A269399(n)) = 1 + 2*a(n).
(history; published version)
#11 by N. J. A. Sloane at Fri Mar 25 23:00:50 EDT 2016
STATUS

reviewed

approved

#10 by Joerg Arndt at Fri Mar 25 12:11:29 EDT 2016
STATUS

proposed

reviewed

#9 by Antti Karttunen at Fri Mar 25 12:02:28 EDT 2016
STATUS

editing

proposed

#8 by Antti Karttunen at Fri Mar 25 12:01:59 EDT 2016
CROSSREFS

Similar permutations: A270199, A270201 (compare the scatter plots of all three).

#7 by Antti Karttunen at Fri Mar 25 12:01:21 EDT 2016
CROSSREFS

Similar permutations: A270199, A270201 (compare the scatter plots of all three).

KEYWORD

nonn,look,new

STATUS

approved

editing

#6 by N. J. A. Sloane at Fri Mar 25 07:47:26 EDT 2016
STATUS

proposed

approved

#5 by Antti Karttunen at Tue Mar 22 07:31:05 EDT 2016
STATUS

editing

proposed

#4 by Antti Karttunen at Tue Mar 22 06:55:04 EDT 2016
NAME

Permutation of natural numbers: a(1) = 1, a(A269389(1+n)) = 2 * a(n), a(A269399(n)) = 1 + 2*a(n).

FORMULA

a(1) = 1, for n > 1, if A137264(6+n) = 0 [when n is in A269399], a(n) = 1 + 2*a(n-A269362(n)), otherwise a(n) = 2 * a(A269362(n)-1).

CROSSREFS
#3 by Antti Karttunen at Mon Mar 21 16:21:35 EDT 2016
LINKS

Antti Karttunen, <a href="/A270193/b270193.txt">Table of n, a(n) for n = 1..10001</a>

#2 by Antti Karttunen at Wed Mar 16 18:55:34 EDT 2016
NAME

allocated for Antti KarttunenPermutation of natural numbers:

DATA

1, 2, 3, 4, 5, 6, 8, 10, 7, 9, 12, 11, 16, 20, 13, 14, 17, 18, 24, 22, 32, 40, 26, 28, 34, 21, 36, 48, 44, 15, 19, 64, 25, 23, 80, 52, 56, 68, 42, 33, 41, 72, 96, 88, 27, 30, 38, 29, 35, 37, 128, 49, 50, 46, 160, 104, 112, 136, 84, 66, 45, 82, 144, 192, 65, 176, 81, 53, 54, 57, 60, 76, 58, 70, 74, 256, 98, 69, 100, 43, 92

OFFSET

1,2

LINKS

<a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

PROG

(Scheme, with memoization-macro definec)

(definec (A270193 n) (cond ((= 1 n) n) ((not (zero? (A137264 (+ 6 n)))) (* 2 (A270193 (+ -1 (A269362 n))))) (else (+ 1 (* 2 (A270193 (- n (A269362 n))))))))

CROSSREFS

Inverse: A270194.

Similar permutations: A270199, A270201.

KEYWORD

allocated

nonn

AUTHOR

Antti Karttunen, Mar 16 2016

STATUS

approved

editing