Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A074067
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A074067 Zigzag modulo 5. +0
3
1, 2, 7, 6, 5, 4, 3, 12, 11, 10, 9, 8, 17, 16, 15, 14, 13, 22, 21, 20, 19, 18, 27, 26, 25, 24, 23, 32, 31, 30, 29, 28, 37, 36, 35, 34, 33, 42, 41, 40, 39, 38, 47, 46, 45, 44, 43, 52, 51, 50, 49, 48, 57, 56, 55, 54, 53, 62, 61, 60, 59, 58, 67, 66, 65, 64, 63, 72, 71 (list; graph; listen)
OFFSET

1,2

COMMENT

a(a(n))=n (a self-inverse permutation);

for n>1: a(n) = n iff n == 0 modulo 5.

LINKS

Eric Weisstein's World of Mathematics, Alternating Permutations

Reinhard Zumkeller, Illustration for A074066-A074068

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(n) = 5*floor(n/5) + 10*floor((n mod 5)/3) - (n mod 5) for n>2; a(n)=n for n<=2.

CROSSREFS

Cf. A074066, A074068.

Sequence in context: A135155 A131184 A011263 this_sequence A110988 A047224 A127817

Adjacent sequences: A074064 A074065 A074066 this_sequence A074068 A074069 A074070

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 17 2002

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research