Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152859
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152859 Tower of prime powers: a(n)=prime(n)^a(n-1), a(0)=0. +0
2
0, 1, 3, 125, 43376549480979932825373547572631882516978329946204051017448930177445694327209941\ 68089672192211758909320807 (list; graph; listen)
OFFSET

0,3

COMMENT

Originally called "Exprimorial numbers (exponential prime factorials)", the strict analogue would be "exponential primorial". [Editor's Note]

LINKS

Wikipedia, Factorial

J. Sondow, "Exponential Factorial."

FORMULA

a(n) = 0 if n = 0; a(n) = prime(n) ^ a(n - 1), n > = 1.

EXAMPLE

a(4) = 7 ^ a(3) = 7 ^ 125

a(5) = 11 ^ a(4) has approximately 4.5 * 10^105 digits, starting with 335856... and ending in ...815171

PROGRAM

(C) unsigned long Exprimorial(unsigned int n) {

if (n == 0) return 0;

return pow(prime(n), Exprimorial(n - 1));

}

(PARI) vector(4, i, t=if(i==1, 1, prime(i)^t)) /* indices are shifted by 1 */ [M. F. Hasler, Nov 01 2009]

CROSSREFS

Cf. A002110, A049384

Sequence in context: A085531 A130614 A114877 this_sequence A157547 A157562 A157592

Adjacent sequences: A152856 A152857 A152858 this_sequence A152860 A152861 A152862

KEYWORD

nonn

AUTHOR

ShaoJun Ying (dolphinysj(AT)gmail.com), Dec 14 2008

EXTENSIONS

Edited by M. F. Hasler (MHasler(AT)univ-ag.fr), Nov 01 2009

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 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research