OFFSET
1,2
COMMENTS
Are there any terms > 3442 that are not just a previous term followed by zeros?
Concerning this question, see the a-file with terms up to 10^6 expressed in the corresponding base for similar sequences in base 2 to 37. - Michel Marcus, Dec 17 2015
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..47
Michel Marcus, Similar sequences in base b=2 to 37
FORMULA
Conjectures from Colin Barker, Jun 18 2019: (Start)
G.f.: x*(655 + 1461*x + 1642*x^2 + 2361*x^3 + 3442*x^4) / (1 - 10*x^5).
a(n) = 10*a(n-5) for n>5.
(End)
EXAMPLE
n = 655 is in the sequence because f(655) = 6*55 + 65*5 = 330 + 325 = 655.
MATHEMATICA
f[n_] := Block[{a = {}, e = IntegerLength@ n - 1, k}, Do[AppendTo[a, #*(n - #*10^(e - k)) &@ Floor[n/10^(e - k)]], {k, 0, e - 1}]; Total@ a]; Select[0, Range[10^6], f@ # == # &] (* Michael De Vlieger, Dec 18 2015 *)
PROG
(PARI) isok(n) = n == sum(k=1, #Str(n), (n\10^k)*(n % 10^k)); \\ Michel Marcus, Dec 16 2015
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Nov 17 2001
EXTENSIONS
0 added by Rémy Sigrist, May 21 2021
More terms from Sean A. Irvine, Sep 12 2023
STATUS
approved