Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080526
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080526 Final entry in n-th row of triangle in A080524. +0
3
1, 3, 10, 67, 627, 7781, 117652, 2097159, 43046725, 1000000009, 25937424606, 743008370699, 23298085122487, 793714773254157, 29192926025390632, 1152921504606846991, 48661191875666868489, 2185911559738696531985 (list; graph; listen)
OFFSET

1,2

FORMULA

For odd n, a(n) = n^(n-1) + (n-1)/2; for even n, a(n) = n^(n-1) + n - 1. Alternatively, a(n) = n^(n-1) + (n-1)/(1 + (n mod 2)). [From Max Alekseyev (maxale(AT)gmail.com), Oct 23 2008]

PROGRAM

(PARI) { a(n) = n^(n-1)+(n-1)/(n%2 + 1) } [From Max Alekseyev (maxale(AT)gmail.com), Oct 23 2008]

CROSSREFS

Cf. A080524, A080525.

Sequence in context: A009400 A004102 A072638 this_sequence A143083 A002499 A047833

Adjacent sequences: A080523 A080524 A080525 this_sequence A080527 A080528 A080529

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 21 2003

EXTENSIONS

More terms and formula from Max Alekseyev (maxale(AT)gmail.com), Oct 23 2008

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 December 5 20:25 EST 2009. Contains 170428 sequences.


AT&T Labs Research