Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097510
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097510 Leftmost terms of the triangle A097825. +0
1
1, 2, 2, 3, 2, 1, 6, 1, 9, 7, 5, 11, 3, 14, 1, 8, 7, 6, 9, 4, 11, 6, 20, 8, 20, 10, 20, 28, 2, 29, 2, 29, 4, 23, 12, 11, 26, 9, 30, 7, 34, 5, 38, 3, 42, 25, 23, 29, 21, 33, 19, 37, 17, 41, 15, 46, 9, 46, 11, 46, 13, 40, 21, 40, 23, 4, 66, 6, 66, 8, 66, 16, 60, 18, 60, 20, 60, 68, 12, 72, 10 (list; graph; listen)
OFFSET

1,2

LINKS

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

PROGRAM

(PARI) a(n) = local(x); x = n; forstep (i = n - 1, 2, -1, if (i%2, if (x <= i, x = i + 1 - x), if (x + i > n, x = n + n + 1 - i - x))); x; - David Wasserman (dwasserm(AT)earthlink.net), Dec 27 2007

CROSSREFS

Cf. A097825.

Cf. A097511.

Sequence in context: A021452 A093420 A104897 this_sequence A156747 A138774 A156988

Adjacent sequences: A097507 A097508 A097509 this_sequence A097511 A097512 A097513

KEYWORD

easy,nonn

AUTHOR

Leroy Quet Aug 26 2004

EXTENSIONS

More terms from David Wasserman (dwasserm(AT)earthlink.net), Dec 27 2007

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