|
|
A100412
|
|
a(n) = 8*10^n - 7.
|
|
6
|
|
|
1, 73, 793, 7993, 79993, 799993, 7999993, 79999993, 799999993, 7999999993, 79999999993, 799999999993, 7999999999993, 79999999999993, 799999999999993, 7999999999999993, 79999999999999993, 799999999999999993
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Also: Numbers n such that n is reversal(n)-th odd number. (This was the original definition. - Ed.)
All semiprimes in this sequence (n = 2, 4, 7, 9, 11, 16, 18, 23, 31, 32, 40, ...) are in A136543. - M. F. Hasler, Nov 03 2012
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 10*a(n-1) + a(n-2) - 10*a(n-3).
G.f.: (1+62*x)/((1-x)*(1-10*x)). (End)
|
|
EXAMPLE
|
793 is in the sequence because 793 is 397th odd number.
1 is in the sequence because 1 is the 1st odd number. - M. F. Hasler, Nov 03 2012
|
|
MATHEMATICA
|
Table[8*10^n-7, {n, 0, 20}]
|
|
PROG
|
(PARI) Vec((1+62*x)/((1-x)*(1-10*x)) + O(x^100)) \\ Colin Barker, Oct 14 2014
(SageMath) [8*10^n -7 for n in range(21)] # G. C. Greubel, Apr 14 2023
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Edited and extended to offset 0 by M. F. Hasler, Nov 03 2012
|
|
STATUS
|
approved
|
|
|
|