|
Search: id:A074306
|
|
| |
|
| 0, 2, 3, 1, 6, 5, 9, 4, 12, 8, 15, 7, 18, 11, 21, 10, 24, 14, 27, 13, 30, 17, 33, 16, 36, 20, 39, 19, 42, 23, 45, 22, 48, 26, 51, 25, 54, 29, 57, 28, 60, 32, 63, 31, 66, 35, 69, 34, 72, 38, 75, 37, 78, 41, 81, 40, 84, 44, 87, 43, 90, 47, 93, 46, 96, 50, 99, 49, 102, 53, 105, 52
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
A permutation of the nonnegative integers.
|
|
REFERENCES
|
G. Venturini, Iterates of number-theoretic functions with periodic rational coefficients (generalization of the 3x+1 problem), Stud. Appl. Math., 86 (1992), 185-218.
|
|
LINKS
|
Index entries for sequences that are permutations of the natural numbers
|
|
PROGRAM
|
(PARI) b(m)=if(m%2==0, m/2*3, if(m%4==3, (m-3)/4*3+1, (m-1)/4*3+2)) for(i=0, 120, print1(b(i), ", ")) (C. Ronaldo)
|
|
CROSSREFS
|
Cf. A074305, A074307, A074308.
Sequence in context: A110237 A076631 A035485 this_sequence A036039 A092271 A054115
Adjacent sequences: A074303 A074304 A074305 this_sequence A074307 A074308 A074309
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com), Sep 23 2002
|
|
EXTENSIONS
|
More terms from Lambert Klasen (lambert.klasen(AT)gmx.de), Jan 02 2005
|
|
|
Search completed in 0.004 seconds
|