Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152917
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152917 A000169 prefixed by an initial 0. +0
1
0, 1, 2, 9, 64, 625, 7776, 117649, 2097152, 43046721, 1000000000, 25937424601, 743008370688, 23298085122481, 793714773254144, 29192926025390625, 1152921504606846976, 48661191875666868481, 2185911559738696531968 (list; graph; listen)
OFFSET

0,3

COMMENT

A variant of A000169, which is the main entry for this sequence. - N. J. A. Sloane (njas(AT)research.att.com), Dec 19 2008

a(0) = 0

a(n) = n ^ (n - 1), n >= 1

n is a natural number.

FORMULA

a(n) = 0 if n = 0

a(n) = n ^ (n - 1), n >= 1

EXAMPLE

a(25) = 25 ^ 24

PROGRAM

(Other) unsigned long Prevonential(unsigned int n)

{

if (n == 0)

return 0;

return pow(n, n - 1);

}

CROSSREFS

Cf. A000169.

Sequence in context: A036777 A000169 A055860 this_sequence A112319 A038038 A048801

Adjacent sequences: A152914 A152915 A152916 this_sequence A152918 A152919 A152920

KEYWORD

nonn

AUTHOR

ShaoJun Ying (dolphinysj(AT)gmail.com), Dec 15 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research