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!)
A065110 If n = D0*10^0 + D1*10^1 + D2*10^2 + .. + Dk*10^k define f(n) = D0*0^10 + D1*1^10 + D2*2^10 + .. + Dk*k^10 (e.g. if n = 421 then f(n) = 4*2^10 + 2*1^10 + 1*0^10 = 4098). Sequence gives values of n such that f(n) is divisible by n. 0

%I #16 Aug 15 2023 07:42:41

%S 1,2,3,4,5,6,7,8,9,385,1036,1273,3574,18362,25194,61725,119471,142223,

%T 203190,284446,886449,1568395,2498685,6259852,13060174,61190538,

%U 125721366,169860524,234467828,234467901,340815101,423409957,518946084,10000000000

%N If n = D0*10^0 + D1*10^1 + D2*10^2 + .. + Dk*10^k define f(n) = D0*0^10 + D1*1^10 + D2*2^10 + .. + Dk*k^10 (e.g. if n = 421 then f(n) = 4*2^10 + 2*1^10 + 1*0^10 = 4098). Sequence gives values of n such that f(n) is divisible by n.

%e If n = 385 then f(n) = 3*2^10+8*1^10+5*0^10 = 3080 = 8*385.

%t nmax = 10^6; f[n_] := (id = Reverse[IntegerDigits[n]]; id.Range[0, Length[id] - 1]^10); Reap[For[n = 1, n < nmax, n++, If[Divisible[f[n], n], Print[n]; Sow[n]]]][[2, 1]] (* _Jean-François Alcover_, Oct 30 2017 *)

%K base,nonn

%O 1,2

%A Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Nov 12 2001

%E Corrected and extended by _Vladeta Jovovic_, Nov 18 2001

%E 1..9 inserted and a(27)-a(34) from _Sean A. Irvine_, Aug 15 2023

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 24 07:06 EDT 2024. Contains 371920 sequences. (Running on oeis4.)