Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125724
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125724 If "sumdigit" denotes the sum of the digits of a number then these are the numbers n such that n=sumdigit(sumdigit(n)^sumdigit(n)). +0
4
1, 13, 25, 45, 58, 88, 98 (list; graph; listen)
OFFSET

0,2

EXAMPLE

sumdigit(13)=4; 4^4 = 256; sumdigit(256)=13

MAPLE

P:=proc(n) local i, j, k, w; for i from 1 by 1 to n do w:=0; k:=i; while k>0 do w:=w+k-trunc(k/10)*10; k:=trunc(k/10); od; k:=w^w; w:=0; while k>0 do w:=w+k-trunc(k/10)*10; k:=trunc(k/10); od; if (i=w) then print(i, w); fi; od; end: P(100);

CROSSREFS

Cf. A125526.

Sequence in context: A017533 A026058 A032697 this_sequence A163551 A005696 A147145

Adjacent sequences: A125721 A125722 A125723 this_sequence A125725 A125726 A125727

KEYWORD

easy,fini,nonn,base

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Feb 02 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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research