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!)
A355547 Numbers k such that x^2 - s*x + p has noninteger roots with s sum of digits of k and p product of digits of k. 3
1, 2, 3, 5, 6, 7, 8, 9, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 123, 124, 125, 126, 127, 128, 129, 131, 132, 133, 135, 136, 137, 138, 139, 141, 142, 144, 145, 147, 148, 149, 151, 152, 153, 154, 155, 156, 157, 159, 161, 162, 163, 165, 167, 168, 169, 171 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) ~ A052382(n) ~ n^k, where k = log(10)/log(9) = 1.04795.... - Charles R Greathouse IV, Jul 07 2022
EXAMPLE
k = 111 is a term, since the sum of the digits of 111 is 3, the product of the digits of 111 is 1 and the roots (3 - sqrt(5))/2 and (3 + sqrt(5))/2 of x^2 - 3*x + 1 are not integers.
MATHEMATICA
kmax=171; kdig:=IntegerDigits[k]; s:=Total[kdig]; p:=Product[Part[kdig, i], {i, Length[kdig]}]; a:={}; For[k=0, k<=kmax, k++, If[Not[Element[x/.Solve[x^2-s*x+p==0, x], Integers]], AppendTo[a, k]]]; a
CROSSREFS
Complement of A355497.
Subsequence of A052382.
Sequence in context: A244217 A351224 A039122 * A031975 A028729 A213367
KEYWORD
nonn,base
AUTHOR
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 June 5 01:34 EDT 2024. Contains 373102 sequences. (Running on oeis4.)