login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A121205
"666" in bases 7 and higher rewritten in base 10.
2
342, 438, 546, 666, 798, 942, 1098, 1266, 1446, 1638, 1842, 2058, 2286, 2526, 2778, 3042, 3318, 3606, 3906, 4218, 4542, 4878, 5226, 5586, 5958, 6342, 6738, 7146, 7566, 7998, 8442, 8898, 9366, 9846, 10338, 10842, 11358, 11886, 12426
OFFSET
7,1
FORMULA
a(n) = 6*(n^2 + n + 1) = a(n-1) + 12*n.
EXAMPLE
In octal notation "666" means 6*8*8 + 6*8 + 6 = 438.
MATHEMATICA
Table[FromDigits[{6, 6, 6}, n], {n, 7, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {342, 438, 546}, 40] (* Harvey P. Dale, Apr 15 2018 *)
PROG
(PARI) a(n) = 6*(n^2 + n + 1); \\ Michel Marcus, Aug 20 2013
CROSSREFS
Sequence in context: A247441 A045106 A137201 * A038852 A043419 A252243
KEYWORD
easy,nonn
AUTHOR
Axel Harvey, Aug 19 2006
EXTENSIONS
More terms from Michel Marcus, Aug 20 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 03:37 EDT 2024. Contains 376016 sequences. (Running on oeis4.)