Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112638
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112638 Power each digit individually according to its position and add the numbers. +0
1
2, 4, 16, 46, 196, 946, 8296, 65246, 385596, 1568346, 3925096, 17165846, 59491596, 333414346, 1000627096, 1003689846, 1013327596, 1019992346, 1099915096, 1899135846, 8291221596, 65211444346, 385412777096, 1566619439846, 3899692777596 (list; graph; listen)
OFFSET

1,1

COMMENT

As the sequence tends to infinity the position of the units is always 6. The position of 10 is 4 or 9. And so on.

EXAMPLE

a(1)= 2

a(2)= 2^2 = 4

a(3)= 4^2 = 16

a(4)= 1^2 *10 + 6^2 = 10 + 36 = 46

a(5)= 4^2 *10 + 6^2 = 160 + 36 = 196

a(6)= 1^2 *100 + 9^2 *10 + 6^2 = 100 + 810 +36 = 946

PROGRAM

(PARI) modN(n) = { local(resul, nshif, d) ; nshif = n; d = 0 ; resul = 0 ; while(nshif > 0, resul += 10^d* ((nshif % 10)^2) ; d++ ; nshif = floor(nshif/10) ; ) ; return(resul) ; } { an=2 ; print(an, ", ") ; for (n = 2, 30, an=modN(an) ; print(an, ", ") ; ) } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 15 2006

CROSSREFS

Sequence in context: A133465 A110128 A101061 this_sequence A077162 A128903 A103435

Adjacent sequences: A112635 A112636 A112637 this_sequence A112639 A112640 A112641

KEYWORD

nonn

AUTHOR

Jorge Coveiro (jorgecoveiro(AT)yahoo.com), Dec 27 2005

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 15 2006

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 September 6 16:04 EDT 2008. Contains 143483 sequences.


AT&T Labs Research