The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038206 Can express a(n) with the digits of a(n)^2 in order, only adding plus signs. 5
0, 1, 9, 10, 36, 45, 55, 82, 91, 99, 100, 235, 297, 369, 370, 379, 414, 657, 675, 703, 756, 792, 909, 918, 945, 964, 990, 991, 999, 1000, 1296, 1702, 1782, 2223, 2728, 3366, 3646, 3682, 4132, 4879, 4906, 4950, 5050, 5149, 5292, 6832, 7191, 7272, 7389 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Every term is congruent to 0 or 1 modulo 9.
LINKS
Max Alekseyev and Giovanni Resta, Table of n, a(n) for n = 1..3200 (first 408 terms from Max Alekseyev)
FORMULA
a(n) = sqrt(A104113(n)). - Andrea Tarantini, Sep 27 2021
EXAMPLE
82^2 = 6724 and 6+72+4 = 82.
PROG
(Python)
def expr(t, d): # can you express target t with digits d, only adding +'s
if t < 0: return False
if t == int(d): return True
return any(expr(t-int(d[:i]), d[i:]) for i in range(1, len(d)))
def ok(n): return expr(n, str(n*n))
print(list(filter(ok, range(7500)))) # Michael S. Branicky, Sep 27 2021
CROSSREFS
Cf. A104113 (squared).
Sequence in context: A119209 A329636 A289520 * A344132 A154389 A041172
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset corrected and b-file added by Max Alekseyev, Jun 08 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 May 16 08:41 EDT 2024. Contains 372552 sequences. (Running on oeis4.)