Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065257
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065257 Quintal Queens permutation of N: double (mod 5) each digit (0->0, 1->2, 2->4, 3->1, 4->3) of the base-5 representation of n-1, add one. +0
5
1, 3, 5, 2, 4, 11, 13, 15, 12, 14, 21, 23, 25, 22, 24, 6, 8, 10, 7, 9, 16, 18, 20, 17, 19, 51, 53, 55, 52, 54, 61, 63, 65, 62, 64, 71, 73, 75, 72, 74, 56, 58, 60, 57, 59, 66, 68, 70, 67, 69, 101, 103, 105, 102, 104, 111, 113, 115, 112, 114, 121, 123, 125, 122, 124, 106 (list; graph; listen)
OFFSET

1,2

COMMENT

See comment at A065256.

LINKS

Index entries for sequences that are permutations of the natural numbers

MAPLE

[seq(QuintalQueens1(j), j=1..125)]; QuintalQueens0 := n -> DoubleDigits(n, 5); QuintalQueens1 := n -> 1+QuintalQueens0(n-1);

DoubleDigits := proc(n, b) local i; add((b^i)*((2*floor(n/(b^i))) mod b), i=0..floor(evalf(log[b](n+1)))+1); end;

CROSSREFS

Inverse permutation: A065258. A065257[n] = A004515[n-1]+1. Cf. also A065186, A065188.

Adjacent sequences: A065254 A065255 A065256 this_sequence A065258 A065259 A065260

Sequence in context: A082822 A109313 A065188 this_sequence A090396 A086387 A073264

KEYWORD

nonn

AUTHOR

Antti Karttunen Oct 26 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research