Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,1

COMMENT

Sequence is its own inverse permutation.

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

The run of non-squarefree integers (27,28) becomes (28,27). And the run of squarefree integers (29,30,31) becomes (31,30,29).

PROGRAM

(PARI) {m=73; n=1; while(n<=m, k=n; while(issquarefree(n), n++); forstep(a=n-1, k, -1, print1(a, ", ")); k=n; while(!issquarefree(n), n++); forstep(a=n-1, k, -1, print1(a, ", ")))} - (Klaus Brockhaus, Aug 16 2006)

CROSSREFS

Sequence in context: A105033 A092486 A159966 this_sequence A028412 A156699 A077819

Adjacent sequences: A119260 A119261 A119262 this_sequence A119264 A119265 A119266

KEYWORD

nonn

AUTHOR

Leroy Quet Jul 23 2006

EXTENSIONS

More terms from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Aug 16 2006

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