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!)
A298984 Numbers k such that floor((10^p) / k) has digital sum k for some integer p. 0
1, 3, 7, 8, 9, 13, 14, 22, 30, 33, 34, 43, 49, 51, 55, 56, 62, 66, 73, 76, 83, 90, 91, 92, 94, 95, 96, 98, 99, 103, 109, 113, 127, 129, 130, 132, 133, 137, 139, 141, 150, 154, 159, 169, 170, 174, 175, 177, 179, 180, 181, 185, 186, 192, 194, 202, 208, 211, 215 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence has similarities with A106039: here some partial sum of digits of 1/k equals k, there some partial (cyclical) sum of digits of k equals k.
A052268 is a subsequence.
LINKS
EXAMPLE
floor(1000 / 7) = 142 and 1 + 4 + 2 = 7, hence 7 belongs to this sequence.
floor(1 / 5) = 0 and floor ((10^p) / 5) = 2 for any p > 0, hence 5 does not belong to this sequence.
PROG
(PARI) is(n) = my (r=1/n, s=0); while (r, s+=floor(r); if (s==n, return (1), s>n, return (0); r = frac(r)*10); return (0)
CROSSREFS
Sequence in context: A286395 A112680 A096079 * A094551 A342006 A239937
KEYWORD
nonn,base,easy
AUTHOR
Rémy Sigrist, Jan 31 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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)