|
| |
|
|
A066006
|
|
Sum of digits of 12^n.
|
|
2
| |
|
|
1, 3, 9, 18, 18, 27, 45, 36, 54, 45, 45, 54, 54, 63, 81, 72, 90, 72, 81, 117, 108, 90, 99, 99, 117, 117, 135, 153, 135, 135, 153, 180, 153, 117, 117, 180, 171, 171, 189, 198, 216, 198, 225, 225, 216, 198, 225, 234, 252, 234, 216, 234, 279, 243
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n=0,...,1000
|
|
|
PROG
| (PARI) SumD(x)= { local(s=0); while (x>9, s+=x%10; x\=10); return(s + x) } { for (n=0, 1000, a=SumD(12^n); write("b066006.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Nov 06 2009]
|
|
|
CROSSREFS
| Sequence in context: A103072 A109228 A103162 * A112559 A030784 A203594
Adjacent sequences: A066003 A066004 A066005 * A066007 A066008 A066009
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), Dec 11 2001
|
| |
|
|